# Functions
IsScalarField determines which fields should be converted to pointers when outputting structs; this is done to allow checks against nil.
New returns a new instance of the CodeGenerator struct to the calling function.
NewGoLangMapper creates a new GoLangMapper instance, initialised with the default state required for code generation.
OrderedMapTypeName returns the type name of an ordered map given the type name of the ordered map list element.
UnorderedMapTypeName returns the map and key type names of an unordered, keyed map given go-generated IR information, as well as whether it is a defined type rather than a Go built-in type.
# Constants
DefaultAnnotationPrefix is the default string that is used to prefix the name of metadata fields in the output Go structs.
# Structs
CodeGenerator is a structure that is used to pass arguments as to how the output Go code should be generated.
GeneratedCode contains generated code snippets that can be processed by the calling application.
GoLangMapper contains the functionality and state for generating Go names for the generated code.
GoOpts stores Go specific options for the code generation library.
GoStructCodeSnippet is used to store the generated code snippets associated with a particular Go struct entity (generated from a container or list).