Documentation ¶
Index ¶
- func HeaderTrailerPkg(pkg string) string
- func WriteComponentImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
- func WriteFieldDeclarations(fixSpecMajor int, fixSpecMinor int, parts []datadictionary.MessagePart, ...) (s string)
- func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary.MessagePart) error
- func WriteFile(filePath, fileOut string)
- func WriteGroupDeclaration(fixSpecMajor, fixSpecMinor int, field *datadictionary.FieldDef, parent string) (fileOut string)
- func WriteMessageImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
- func WriteNewComponent(writer io.Writer, comp datadictionary.ComponentType) error
- func WriteNewMessage(writer io.Writer, msg datadictionary.MessageDef) error
- func WritePackage(writer io.Writer, pkg string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderTrailerPkg ¶ added in v0.2.0
func WriteComponentImports ¶ added in v0.2.0
func WriteComponentImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
func WriteFieldDeclarations ¶ added in v0.2.0
func WriteFieldDeclarations(fixSpecMajor int, fixSpecMinor int, parts []datadictionary.MessagePart, componentName string) (s string)
func WriteFieldSetters ¶ added in v0.2.0
func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary.MessagePart) error
WriteFieldSetters generates setters appropriate for Messages, Components or Repeating Groups
func WriteGroupDeclaration ¶ added in v0.2.0
func WriteGroupDeclaration(fixSpecMajor, fixSpecMinor int, field *datadictionary.FieldDef, parent string) (fileOut string)
func WriteMessageImports ¶ added in v0.2.0
func WriteMessageImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
func WriteNewComponent ¶ added in v0.2.0
func WriteNewComponent(writer io.Writer, comp datadictionary.ComponentType) error
func WriteNewMessage ¶ added in v0.2.0
func WriteNewMessage(writer io.Writer, msg datadictionary.MessageDef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.