Documentation ¶
Overview ¶
Package gen contains the libraries and algorithms used to generate the code for the vocab package.
Index ¶
- Constants
- func Deserialize(r defs.RangeReference, mapName, field string, slice bool) string
- func InterfaceName(t *defs.Type) string
- func Name(r defs.RangeReference) string
- func Serialize(r defs.RangeReference, mapName, field string, slice bool) string
- func Type(r defs.RangeReference) string
- type File
Constants ¶
View Source
const ( ObjectTypeName = "ObjectType" LinkTypeName = "LinkType" )
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
func Deserialize(r defs.RangeReference, mapName, field string, slice bool) string
func InterfaceName ¶
func Name ¶
func Name(r defs.RangeReference) string
func Type ¶
func Type(r defs.RangeReference) string
Types ¶
Click to show internal directories.
Click to hide internal directories.