Documentation ¶
Overview ¶
Package meta contains types that represent generated code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File represents a generated code file
func (*File) FilterMethods ¶ added in v0.0.2
FilterMethods returns a copy of Methods, omitting elements that are rejected by the given function. The n argument determines the maximum number of elements to return (n < 1: all elements).
type Method ¶
type Method struct {
RcvName, RcvType string
Name string
ArgName, ArgType string
RetVals string
FldName, FldType string
Misc map[string]interface{}
Tmpl string
}
Method represents a generated method
Click to show internal directories.
Click to hide internal directories.