Documentation ¶
Index ¶
- func DataClassName(name string, settings config.CombinedSettings) string
- func Generate(r *compiler.Result, settings config.CombinedSettings) (map[string]string, error)
- func MemberName(name string, settings config.CombinedSettings) string
- func Offset(v int) int
- type Constant
- type Enum
- type Field
- type Params
- type Query
- type QueryValue
- type Struct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataClassName ¶
func DataClassName(name string, settings config.CombinedSettings) string
func MemberName ¶
func MemberName(name string, settings config.CombinedSettings) string
Types ¶
type Query ¶
type Query struct { ClassName string Cmd string Comments []string MethodName string FieldName string ConstantName string SQL string SourceName string Ret QueryValue Arg Params }
A struct used to generate methods and fields on the Queries struct
type QueryValue ¶
func (QueryValue) EmitStruct ¶
func (v QueryValue) EmitStruct() bool
func (QueryValue) IsStruct ¶
func (v QueryValue) IsStruct() bool
func (QueryValue) ResultSet ¶
func (v QueryValue) ResultSet() string
func (QueryValue) Type ¶
func (v QueryValue) Type() string
Click to show internal directories.
Click to hide internal directories.