Documentation ¶
Index ¶
- func IsNativeType(typeName string) bool
- type Globals
- func (self *Globals) AddSourceType(oft ObjectFieldType)
- func (self *Globals) AddTable(tableFileName string) helper.TableSheet
- func (self *Globals) AddTableByFile(tableFileName, tableName string, inputFile *xlsx.File)
- func (self *Globals) ObjectTypeByName(objectTypeName string) *ObjectFieldType
- func (self *Globals) PrintTypes()
- func (self *Globals) SourceTypeExists(objectTypeName, fieldName string) bool
- func (self *Globals) TypeIsNoneKind(objectTypeName string) bool
- type ObjectFieldType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNativeType ¶
Types ¶
type Globals ¶
type Globals struct { TableGetter helper.FileGetter SourceTypes []ObjectFieldType SourceFileList []string TargetTypesSheet helper.TableSheet TargetIndexSheet helper.TableSheet TargetTables *helper.MemFile OutputDir string }
func NewGlobals ¶
func NewGlobals() *Globals
func (*Globals) AddSourceType ¶
func (self *Globals) AddSourceType(oft ObjectFieldType)
func (*Globals) AddTableByFile ¶
func (*Globals) ObjectTypeByName ¶
func (self *Globals) ObjectTypeByName(objectTypeName string) *ObjectFieldType
func (*Globals) PrintTypes ¶
func (self *Globals) PrintTypes()
func (*Globals) SourceTypeExists ¶
func (*Globals) TypeIsNoneKind ¶
type ObjectFieldType ¶
type ObjectFieldType struct { model.TypeDefine Meta *golexer.KVPair }
func (*ObjectFieldType) IsArray ¶
func (self *ObjectFieldType) IsArray() bool
Click to show internal directories.
Click to hide internal directories.