Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewArrayType(data interface{}, opts ...func(option *translatorOptions)) *arrayType
 - func NewBaseType(data interface{}, opts ...func(option *translatorOptions)) *baseType
 - func NewDefaultType(data interface{}, opts ...func(option *translatorOptions)) *defaultType
 - func NewObjectType(data interface{}, opts ...func(option *translatorOptions)) *objectType
 - func NewStringType(data interface{}, opts ...func(option *translatorOptions)) *stringType
 - func WithCurrentPackage(currentPkg string) func(options *translatorOptions)
 - func WithDefaultObjectName(defaultObjectName string) func(options *translatorOptions)
 - func WithRestrictExternalTypes(restrictExternalTypes bool) func(options *translatorOptions)
 - type ToTextTranslator
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArrayType ¶
func NewArrayType(data interface{}, opts ...func(option *translatorOptions)) *arrayType
    func NewBaseType ¶
func NewBaseType(data interface{}, opts ...func(option *translatorOptions)) *baseType
    func NewDefaultType ¶
func NewDefaultType(data interface{}, opts ...func(option *translatorOptions)) *defaultType
    func NewObjectType ¶
func NewObjectType(data interface{}, opts ...func(option *translatorOptions)) *objectType
    func NewStringType ¶
func NewStringType(data interface{}, opts ...func(option *translatorOptions)) *stringType
    func WithCurrentPackage ¶
func WithCurrentPackage(currentPkg string) func(options *translatorOptions)
func WithDefaultObjectName ¶
func WithDefaultObjectName(defaultObjectName string) func(options *translatorOptions)
func WithRestrictExternalTypes ¶
func WithRestrictExternalTypes(restrictExternalTypes bool) func(options *translatorOptions)
Types ¶
type ToTextTranslator ¶
func NewDataTypeToTextTranslator ¶
func NewDataTypeToTextTranslator(element interface{}, opts ...func(option *translatorOptions)) ToTextTranslator
     Click to show internal directories. 
   Click to hide internal directories.