Documentation ¶
Index ¶
- func FormatComment(s string, leftCol int, rightCol int) string
- func Generate(schema *rdl.Schema, params *GeneratorParams) error
- func GenerateSchema(schema *rdl.Schema, cName string, writer io.Writer, ns string, banner string) error
- func GenerationDir(outdir string, schema *rdl.Schema, ns string) (string, error)
- func GenerationHeader(banner string) string
- func GenerationPackage(schema *rdl.Schema, ns string) string
- func JavaType(reg rdl.TypeRegistry, rdlType rdl.TypeRef, optional bool, items rdl.TypeRef, ...) string
- func SafeTypeVarName(rtype rdl.TypeRef) rdl.TypeName
- type GeneratorParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(schema *rdl.Schema, params *GeneratorParams) error
GenerateJavaModel generates the model code for the types defined in the RDL schema.
func GenerateSchema ¶
func GenerationDir ¶
func GenerationHeader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.