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 ¶
func WriteComponentImports ¶
func WriteComponentImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
func WriteFieldDeclarations ¶
func WriteFieldDeclarations(fixSpecMajor int, fixSpecMinor int, parts []datadictionary.MessagePart, componentName string) (s string)
func WriteFieldSetters ¶
func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary.MessagePart) error
WriteFieldSetters generates setters appropriate for Messages, Components or Repeating Groups
func WriteGroupDeclaration ¶
func WriteGroupDeclaration(fixSpecMajor, fixSpecMinor int, field *datadictionary.FieldDef, parent string) (fileOut string)
func WriteMessageImports ¶
func WriteMessageImports(writer io.Writer, pkg string, parts []datadictionary.MessagePart) error
func WriteNewComponent ¶
func WriteNewComponent(writer io.Writer, comp datadictionary.ComponentType) error
func WriteNewMessage ¶
func WriteNewMessage(writer io.Writer, msg datadictionary.MessageDef) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.