Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(req *plugin.CodeGenRequest) (*plugin.CodeGenResponse, error)
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.