Documentation ¶
Index ¶
- type Aggregate
- type FieldArg
- type Generator
- type Key
- func (k *Key) Checksum() uint32
- func (k *Key) DBIterPrefix() string
- func (k *Key) DBKey(prefix string) string
- func (k *Key) DBKeyPrefix(prefix string) string
- func (k *Key) FuncArgs(prefix string) string
- func (k *Key) FuncArgsCKs(prefix string) string
- func (k *Key) FuncArgsPKs(prefix string) string
- func (k *Key) Keys() []string
- func (k *Key) String(prefix string, sep string, lowerCamel bool) string
- func (k *Key) StringCKs(prefix string, sep string, lowerCamel bool) string
- func (k *Key) StringPKs(prefix string, sep string, lowerCamel bool) string
- type ModelArg
- type ViewArg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶ added in v0.5.25
type Generator struct {
// contains filtered or unexported fields
}
type Key ¶
type Key struct { PKs []string PKGoTypes []string CKs []string CKGoTypes []string Orders []string // contains filtered or unexported fields }
func (*Key) DBIterPrefix ¶ added in v0.11.0
func (*Key) DBKeyPrefix ¶ added in v0.11.0
func (*Key) FuncArgsCKs ¶ added in v0.11.0
func (*Key) FuncArgsPKs ¶ added in v0.11.0
type ModelArg ¶ added in v0.11.0
type ModelArg struct { Name string Pkg string Type string C uint32 HasIndex bool DBKey func(prefix string) string FuncArgs func(prefix string) string FuncArgsPKs func(prefix string) string FuncArgsCKs func(prefix string) string String func(prefix string, sep string, lowerCamel bool) string StringPKs func(prefix string, sep string, lowerCamel bool) string StringCKs func(prefix string, sep string, lowerCamel bool) string Views []ViewArg Fields []FieldArg }
type ViewArg ¶ added in v0.11.0
type ViewArg struct { Name string Keys []string DBKey func(prefix string) string FuncArgs func(prefix string) string FuncArgsPKs func(prefix string) string FuncArgsCKs func(prefix string) string String func(prefix string, sep string, lowerCamel bool) string StringPKs func(prefix string, sep string, lowerCamel bool) string StringCKs func(prefix string, sep string, lowerCamel bool) string }
Click to show internal directories.
Click to hide internal directories.