Documentation
¶
Index ¶
Constants ¶
View Source
const InputFile = "InputFile"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { Description Title string `json:"title"` Category string `json:"category"` }
type Description ¶
type Field ¶
type Field struct { Types []TypeMapping `json:"types"` Description Description `json:"description"` Required bool `json:"required"` }
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
type Method ¶
type Method struct { Arguments map[string]Field `json:"arguments"` // null available Returns *TypeMapping `json:"returns"` Description Description `json:"description"` Category string `json:"category"` }
type Type ¶
type Type struct { Fields map[string]Field `json:"fields"` Description Description `json:"description"` Category string `json:"category"` }
type TypeMapping ¶
type TypeMapping string
func (TypeMapping) ArrayType ¶
func (t TypeMapping) ArrayType() TypeMapping
func (TypeMapping) GoType ¶
func (t TypeMapping) GoType() string
func (TypeMapping) IsArray ¶
func (t TypeMapping) IsArray() bool
func (TypeMapping) IsSimpleType ¶
func (t TypeMapping) IsSimpleType() bool
func (TypeMapping) SplitArray ¶
func (t TypeMapping) SplitArray() string
Click to show internal directories.
Click to hide internal directories.