Versions in this module Expand all Collapse all v0 v0.0.1 Nov 15, 2023 Changes in this version + func Gen(config gen_server.GenModelConfig) error + func QuoteChar() interface + type Collection struct + ArrStructName string + CamelPrimaryKey string + CamelSecondaryKey string + CapCamelPrimaryKey string + CapCamelSecondaryKey string + Capped int64 + CollName string + CommentArr []string + DataStructName string + Derive string + FieldArr []*Field + FieldDict map[string]*Field + IndexArr []*Index + IndexDict map[string]*Index + KeyArr []string + MongoDaoStructName string + PbStructName string + PrimaryKey string + PrimaryKeyField *Field + RedisDaoStructName string + SecondaryKey string + SecondaryKeyField *Field + StructName string + func (coll *Collection) IsCapped() bool + func (coll *Collection) IsDeriveUser() bool + func (coll *Collection) IsDeriveUserArr() bool + type Database struct + CollectionArr []*Collection + DaoInterfaceName string + DbName string + DbStructName string + Driver string + GenBinDir string + GenBinFilePath string + GenModelDir string + GenModelFilePath string + GenProtobufFilePath string + ImportArr []string + Module string + MongoDaoStructName string + RedisDaoStructName string + type Field struct + Array bool + CamelName string + Coll *Collection + CommentArr []string + Default interface{} + GoTypeName string + IsPrimaryKey bool + IsSecondaryKey bool + Name string + ProtobufTypeName string + Tag int + Type field_type + TypeName string + func (f *Field) IsBool() bool + func (f *Field) IsComparable() bool + func (f *Field) IsNumber() bool + func (f *Field) IsString() bool + func (f *Field) IsStruct() bool + type Index struct + FullName string + KeyArr []*Key + KeyDict map[string]*Key + Name string + Tag int + Unique bool + type Key struct + Key string + Value interface{} + func (k *Key) Val() interface{} + type Parser interface