Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Comment string Package string Imports []NamedTypeValue Constants []NamedTypeValue Vars []NamedTypeValue Interfaces []Interface Structs []Struct Methods []Method AliasType []NamedTypeValue }
type Method ¶
type Method struct { Comment string Name string Struct NamedTypeValue Body string Parameters []NamedTypeValue Results []NamedTypeValue }
func NewMethod ¶
func NewMethod(name string, str NamedTypeValue, body string, parameters, results []NamedTypeValue) Method
func NewMethodWithComment ¶
func NewMethodWithComment(name string, comment string, str NamedTypeValue, body string, parameters, results []NamedTypeValue) Method
type NamedTypeValue ¶
func NewNameType ¶
func NewNameType(name string, tp string) NamedTypeValue
func NewNameTypeValue ¶
func NewNameTypeValue(name string, tp string, vl string) NamedTypeValue
type Struct ¶
type Struct struct { Name string Comment string Vars []NamedTypeValue }
func NewStruct ¶
func NewStruct(name string, vars []NamedTypeValue) Struct
func NewStructWithComment ¶
func NewStructWithComment(name string, comment string, vars []NamedTypeValue) Struct
Click to show internal directories.
Click to hide internal directories.