Documentation
¶
Index ¶
- func Capitalize(text string) string
- func FlattenedFields(reg rdl.TypeRegistry, t *rdl.Type) []*rdl.StructFieldDef
- func FormatComment(s string, leftCol int, rightCol int) string
- func GetOutputPathInfo(outdir string, name string, ext string) (string, string)
- func GetUserDefinedTypeAnnotations(userDefinedType rdl.TypeRef, schemaTypes []*rdl.Type) map[rdl.ExtendedAnnotation]string
- func JavaGenerateParsecErrorBody(schema *rdl.Schema, writer io.Writer, namespace string) error
- func JavaGenerateParsecErrorDetail(schema *rdl.Schema, writer io.Writer, namespace string) error
- func JavaGenerateParsecResourceError(schema *rdl.Schema, writer io.Writer, namespace string) error
- func JavaGenerateResourceError(schema *rdl.Schema, writer io.Writer, namespace string) error
- func JavaGenerateResourceException(schema *rdl.Schema, writer io.Writer, namespace string) error
- func JavaGenerationDir(outdir string, schema *rdl.Schema, namespace string) (string, error)
- func JavaGenerationHeader(banner string) string
- func JavaGenerationOrigHeader(banner string) string
- func JavaGenerationOrigPackage(schema *rdl.Schema, namespace string) string
- func JavaGenerationPackage(schema *rdl.Schema, namespace string) string
- func JavaGenerationRootPath(schema *rdl.Schema) string
- func JavaGenerationSourceDir(schema *rdl.Schema, namespace string) (string, error)
- func JavaType(reg rdl.TypeRegistry, rdlType rdl.TypeRef, optional bool, items rdl.TypeRef, ...) string
- func LeftJustified(text string, width int) string
- func OutputWriter(outdir string, name string, ext string) (*bufio.Writer, *os.File, string, error)
- func Split(str string, delim rune) []string
- func Uncapitalize(text string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func FlattenedFields ¶
func FlattenedFields(reg rdl.TypeRegistry, t *rdl.Type) []*rdl.StructFieldDef
func GetOutputPathInfo ¶
func JavaGenerationDir ¶
func JavaGenerationHeader ¶
func JavaGenerationPackage ¶
func JavaGenerationRootPath ¶
func JavaGenerationSourceDir ¶
func LeftJustified ¶
func OutputWriter ¶
func Uncapitalize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.