Documentation ¶
Overview ¶
Package go2json ...
Package go2json ...
Package go2json ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateSet ¶
GenerateSet ...
type GenerateType ¶
type GenerateType struct { Meta *MockMeta `json:"meta"` Payload MockPayload `json:"payload"` }
GenerateType mock json
type Generator ¶
type Generator struct { BasePackage string CustomGenerator func(t types.Type, packageStack []string, exitRecursion bool) (bool, interface{}) // contains filtered or unexported fields }
Generator go struct->json
func NewGenerator ¶
NewGenerator Generator constructor
Click to show internal directories.
Click to hide internal directories.