Versions in this module Expand all Collapse all v0 v0.3.0 Jun 3, 2016 Changes in this version + func GetImportPathRoot() string + 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) error + 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 + type ErrorHandler struct + ReturnCode int + func (h *ErrorHandler) Handle(err error) + type ParseError struct + func (e ParseError) Error() string