Documentation ¶
Index ¶
- type Bool
- type BuildConfig
- type Byte
- type CodeGen
- func (g *CodeGen) ConvFrom(ctx Context) jen.Code
- func (g *CodeGen) ConvTo(ctx Context) jen.Code
- func (g *CodeGen) ConvToField(ctx Context) jen.Code
- func (g *CodeGen) FieldDef(ctx Context) jen.Code
- func (g *CodeGen) FilterDefine(ctx Context) jen.Code
- func (g *CodeGen) FilterFunc(ctx Context) jen.Code
- func (g *CodeGen) FilterInit(ctx Context) jen.Code
- func (g *CodeGen) SortDefine(ctx Context) jen.Code
- func (g *CodeGen) SortFunc(ctx Context) jen.Code
- func (g *CodeGen) SortInit(ctx Context) jen.Code
- type CodeGenFunc
- type Context
- type DatabaseObject
- type Def
- type Edge
- type EdgeTable
- type ElemGetter
- type Element
- type Enum
- type EnumModel
- type Field
- type ID
- type Named
- type Node
- type NodeTable
- type Numeric
- type Slice
- type String
- type Struct
- type Table
- type Time
- type URL
- type UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
func (Bool) NameDatabase ¶
func (f Bool) NameDatabase() string
func (Bool) NameGoLower ¶
func (f Bool) NameGoLower() string
func (*Bool) TypeDatabase ¶
type BuildConfig ¶
type Byte ¶ added in v0.3.0
type Byte struct {
// contains filtered or unexported fields
}
func (Byte) NameDatabase ¶ added in v0.3.0
func (f Byte) NameDatabase() string
func (Byte) NameGoLower ¶ added in v0.3.0
func (f Byte) NameGoLower() string
func (*Byte) TypeDatabase ¶ added in v0.3.0
type CodeGenFunc ¶
type DatabaseObject ¶
func (*DatabaseObject) FileName ¶
func (o *DatabaseObject) FileName() string
func (*DatabaseObject) GetFields ¶
func (o *DatabaseObject) GetFields() []Field
func (*DatabaseObject) HasTimestamps ¶
func (o *DatabaseObject) HasTimestamps() bool
func (*DatabaseObject) NameDatabase ¶
func (o *DatabaseObject) NameDatabase() string
func (*DatabaseObject) NameGo ¶
func (o *DatabaseObject) NameGo() string
func (*DatabaseObject) NameGoLower ¶
func (o *DatabaseObject) NameGoLower() string
type Def ¶
type Def struct { Nodes []*NodeTable Edges []*EdgeTable Objects []*DatabaseObject }
type Edge ¶
type Edge struct {
// contains filtered or unexported fields
}
func (Edge) NameDatabase ¶
func (f Edge) NameDatabase() string
func (Edge) NameGoLower ¶
func (f Edge) NameGoLower() string
func (*Edge) TypeDatabase ¶
type EdgeTable ¶
func (*EdgeTable) HasTimestamps ¶
func (*EdgeTable) NameDatabase ¶
func (*EdgeTable) NameGoLower ¶
type ElemGetter ¶
type Enum ¶
type Enum struct {
// contains filtered or unexported fields
}
func (Enum) NameDatabase ¶
func (f Enum) NameDatabase() string
func (Enum) NameGoLower ¶
func (f Enum) NameGoLower() string
func (*Enum) TypeDatabase ¶
type EnumModel ¶
type EnumModel string
func (EnumModel) NameDatabase ¶
func (EnumModel) NameGoLower ¶
type Field ¶
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
func (ID) NameDatabase ¶
func (f ID) NameDatabase() string
func (ID) NameGoLower ¶
func (f ID) NameGoLower() string
func (*ID) TypeDatabase ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) NameDatabase ¶
func (f Node) NameDatabase() string
func (Node) NameGoLower ¶
func (f Node) NameGoLower() string
func (*Node) TypeDatabase ¶
type NodeTable ¶
func (*NodeTable) HasTimestamps ¶
func (*NodeTable) NameDatabase ¶
func (*NodeTable) NameGoLower ¶
type Numeric ¶
type Numeric struct {
// contains filtered or unexported fields
}
func (Numeric) NameDatabase ¶
func (f Numeric) NameDatabase() string
func (Numeric) NameGoLower ¶
func (f Numeric) NameGoLower() string
func (*Numeric) TypeDatabase ¶
type Slice ¶
type Slice struct {
// contains filtered or unexported fields
}
func (Slice) NameDatabase ¶
func (f Slice) NameDatabase() string
func (Slice) NameGoLower ¶
func (f Slice) NameGoLower() string
func (*Slice) TypeDatabase ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
func (String) NameDatabase ¶
func (f String) NameDatabase() string
func (String) NameGoLower ¶
func (f String) NameGoLower() string
func (*String) TypeDatabase ¶
type Struct ¶
type Struct struct {
// contains filtered or unexported fields
}
func (Struct) NameDatabase ¶
func (f Struct) NameDatabase() string
func (Struct) NameGoLower ¶
func (f Struct) NameGoLower() string
func (*Struct) TypeDatabase ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (Time) NameDatabase ¶
func (f Time) NameDatabase() string
func (Time) NameGoLower ¶
func (f Time) NameGoLower() string
func (*Time) TypeDatabase ¶
type URL ¶ added in v0.3.0
type URL struct {
// contains filtered or unexported fields
}
func (URL) NameDatabase ¶ added in v0.3.0
func (f URL) NameDatabase() string
func (URL) NameGoLower ¶ added in v0.3.0
func (f URL) NameGoLower() string
func (*URL) TypeDatabase ¶ added in v0.3.0
type UUID ¶
type UUID struct {
// contains filtered or unexported fields
}
func (UUID) NameDatabase ¶
func (f UUID) NameDatabase() string
func (UUID) NameGoLower ¶
func (f UUID) NameGoLower() string
func (*UUID) TypeDatabase ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.