func (w *WalkHandler) EnterFunc(decl *ast.FuncDecl) bool {
	return decl.Body != nil
}
EnterFunc is a default walkerEvents.EnterFunc implementation
that skips extern function (ones that do not have body).
package astwalk
import (
	"go/ast"
)
type WalkHandler struct {
	SkipChilds bool
}
func (w *WalkHandler) EnterFile(f *ast.File) bool {
	return true
}