Documentation ¶
Index ¶
- Variables
- func CodeGenerator() *cobra.Command
- func ExecuteJar(params JarStdinParameters) ([]byte, error)
- func GenerateAllImportsTest(outputDir string, codeFiles []*utils.CodeFile) error
- func GenerateCode(specBytes []byte, outputDir string) error
- func ReadSpec(args []string) ([]byte, error)
- type GoRestliSpec
- type JarStdinParameters
Constants ¶
This section is empty.
Variables ¶
View Source
var Jar, _ = base64.StdEncoding.DecodeString(``)
View Source
var Version string
Functions ¶
func CodeGenerator ¶
func ExecuteJar ¶
func ExecuteJar(params JarStdinParameters) ([]byte, error)
func GenerateAllImportsTest ¶ added in v0.19.0
func GenerateCode ¶ added in v0.19.0
Types ¶
type GoRestliSpec ¶ added in v0.19.0
type GoRestliSpec struct { DataTypes []struct { Enum *types.Enum `json:"enum"` Fixed *types.Fixed `json:"fixed"` Record *types.Record `json:"record"` ComplexKey *types.ComplexKey `json:"complexKey"` StandaloneUnion *types.StandaloneUnion `json:"standaloneUnion"` Typeref *types.Typeref `json:"typeref"` } `json:"dataTypes"` Resources []resources.Resource }
func (*GoRestliSpec) GenerateClientCode ¶ added in v0.19.0
func (s *GoRestliSpec) GenerateClientCode() (codeFiles []*utils.CodeFile)
func (*GoRestliSpec) UnmarshalJSON ¶ added in v0.19.0
func (s *GoRestliSpec) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.