Documentation ¶
Index ¶
- func GenerateFunctions(conn *sqlx.DB, sourceFile, packageName string, ...) (err error)
- func GenerateNoResultFunctions(conn *sqlx.DB, sourceFile, packageName string, ...) (err error)
- func GenerateNoResultFunctionsDBFirstArg(conn *sqlx.DB, sourceFile, packageName string, ...) error
- func GetEnumValues(conn *sqlx.DB, enum string) (values []string, err error)
- func PgToGoType(conn *sqlx.DB, t string, imports Imports, enums Enums, ...) string
- func UUIDSliceToPgString(ids []uu.ID) string
- type Enum
- type Enums
- type Function
- type FunctionArgument
- type Imports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFunctions ¶
func PgToGoType ¶
func UUIDSliceToPgString ¶
TODO: replace with uu.IDSlice
Types ¶
type Enum ¶
func (*Enum) GoConstsAndValues ¶
type Function ¶
type FunctionArgument ¶
func (*FunctionArgument) GoName ¶
func (arg *FunctionArgument) GoName() string
Click to show internal directories.
Click to hide internal directories.