Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugLog = log.New(os.Stderr, "D ", 0)
DebugLog is log destination for debug messages
WarnLog is log destination for warning messages
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct { Name string Imports []*Import Values []*Value Funcs map[string]*Func Types map[string]*Type }
Package represents a go pacakge.
type Type ¶
type Type struct { Name string Embedded map[string]struct{} Methods map[string]*Func Fields map[string]*Field IsStruct bool // contains filtered or unexported fields }
Type represents a function.
func (*Type) FieldsByTag ¶
FieldsByTag collects fields which match with query. The query's format is "{tagName}" or "{tagName}:{value}".
Click to show internal directories.
Click to hide internal directories.