Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{TypeName: "T"}
Functions ¶
func GenerateCode ¶
GenerateCode generates a Go type definition from a JSON string as jen.Code.
func GenerateCodeFromBytes ¶
GenerateCodeFromBytes generates a Go type definition from a slice of JSON bytes as jen.Code.
func GenerateFromBytes ¶
GenerateFromBytes generates a Go type definition from a slice of JSON bytes.
Types ¶
type Options ¶
func (Options) GenerateCode ¶
GenerateCode generates a Go type definition from a JSON string as jen.Code.
func (Options) GenerateCodeFromBytes ¶
GenerateCodeFromBytes generates a Go type definition from a slice of JSON bytes as jen.Code.
Click to show internal directories.
Click to hide internal directories.