code: func (f *Func) IsExported() bool {
  	name := f.Name()
  	parts := strings.Split(name, ".")
  	r, _ := utf8.DecodeRuneInString(parts[len(parts)-1])
  	if unicode.ToUpper(r) == r {
  		return true
  	}
  	return f.PkgName() == "main" && name == "main"
  }
docs: // IsExported returns true if the function is exported.