Versions in this module Expand all Collapse all v0 v0.1.0 Dec 13, 2019 v0.0.9 Dec 12, 2019 v0.0.8 Dec 12, 2019 v0.0.7 Dec 12, 2019 v0.0.6 Dec 12, 2019 v0.0.5 Dec 12, 2019 v0.0.4 Dec 12, 2019 v0.0.3 Dec 12, 2019 v0.0.2 Dec 12, 2019 v0.0.1 Dec 12, 2019 v0.0.0 Dec 12, 2019 Changes in this version + var BuiltinSymbolsVisible bool + var FieldTypes = []*FieldType + func FetchDefaultValue(fieldType string) (ret string) + func InitBuiltinTypes(typeTab *TypeTable) + func LanguagePrimitive(fieldType string, lanType string) string + func PrimitiveExists(fieldType string) bool + type Cell struct + Col int + Next *Cell + Row int + Table *DataTable + Value string + func (self *Cell) CopyFrom(c *Cell) + func (self *Cell) String() string + type DataRow struct + func (self *DataRow) AddCell() (ret *Cell) + func (self *DataRow) Cell(col int) *Cell + func (self *DataRow) Cells() []*Cell + func (self *DataRow) IsEmpty() bool + type DataTable struct + FileName string + HeaderType string + Headers []*HeaderField + OriginalHeaderType string + Rows []*DataRow + SheetName string + func NewDataTable() *DataTable + func (self *DataTable) AddCell(row int) *Cell + func (self *DataTable) AddRow() (row int) + func (self *DataTable) DataRowIndex() (ret []int) + func (self *DataTable) GetCell(row, col int) *Cell + func (self *DataTable) GetValueByName(row int, name string) *Cell + func (self *DataTable) HeaderByColumn(col int) *HeaderField + func (self *DataTable) HeaderByName(name string) *HeaderField + func (self *DataTable) MustGetCell(row, col int) *Cell + func (self *DataTable) MustGetHeader(col int) (header *HeaderField) + func (self *DataTable) String() string + type DataTableList struct + func (self *DataTableList) AddDataTable(t *DataTable) + func (self *DataTableList) AllTables() []*DataTable + func (self *DataTableList) Count() int + func (self *DataTableList) GetDataTable(headerType string) *DataTable + type FieldType struct + CSFieldName string + DefaultValue string + GoFieldName string + InputFieldName string + JavaFieldName string + type Globals struct + CombineStructName string + Datas DataTableList + GenBinary bool + IndexFile string + IndexGetter helper.FileGetter + IndexList []*IndexDefine + MatchTag string + PackageName string + ParaLoading bool + TableGetter helper.FileGetter + Types *TypeTable + UseGBKCSV bool + Version string + func NewGlobals() *Globals + type HeaderField struct + Cell *Cell + TypeInfo *TypeDefine + func (self *HeaderField) String() string + type IndexDefine struct + Kind TableKind + TableFileName string + TableType string + Tags []string + func (self *IndexDefine) MatchTag(tag string) bool + type TableKind int32 + const TableKind_Data + const TableKind_KeyValue + const TableKind_None + const TableKind_Type + type TypeData struct + Define *TypeDefine + Row int + Tab *DataTable + type TypeDefine struct + ArraySplitter string + FieldName string + FieldType string + IsBuiltin bool + Kind TypeUsage + MakeIndex bool + Name string + ObjectType string + Value string + func (self *TypeDefine) IsArray() bool + type TypeTable struct + func NewSymbolTable() *TypeTable + func (self *TypeTable) AddField(tf *TypeDefine, data *DataTable, row int) + func (self *TypeTable) AllFieldByName(objectType string) (ret []*TypeDefine) + func (self *TypeTable) AllFields(all bool) (ret []*TypeDefine) + func (self *TypeTable) EnumNames() (ret []string) + func (self *TypeTable) FieldByName(objectType, name string) (ret *TypeDefine) + func (self *TypeTable) IsEnumKind(objectType string) bool + func (self *TypeTable) ObjectExists(objectType string) bool + func (self *TypeTable) Print(all bool) + func (self *TypeTable) Raw() []*TypeData + func (self *TypeTable) ResolveEnumValue(objectType, value string) string + func (self *TypeTable) StructNames() (ret []string) + func (self *TypeTable) ToJSON(all bool) []byte + type TypeUsage int32 + const TypeUsage_Enum + const TypeUsage_HeaderStruct + const TypeUsage_None + func (self TypeUsage) String() string