Documentation ¶ Index ¶ func IsExportedIdentifier(name string) bool type Field func ExportedOrLocalFields(strct *types.Struct, dstPkg *types.Package) []Field Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsExportedIdentifier ¶ func IsExportedIdentifier(name string) bool Types ¶ type Field ¶ type Field struct { Name string Type types.Type StructTag string IsExported bool } func ExportedOrLocalFields ¶ func ExportedOrLocalFields(strct *types.Struct, dstPkg *types.Package) []Field ExportedOrLocalFields returns fields settable from the same package as dstPkg (exported fields anywhere, plus unexported when generating in the same package). Source Files ¶ View all Source files inspect.go Click to show internal directories. Click to hide internal directories.