Documentation ¶
Index ¶
- Constants
- func AddPgEnumArrayType(types drivers.Types, enum string) string
- func AddPgEnumType(types drivers.Types, enum string) string
- func AddPgGenericArrayType(types drivers.Types, singleTyp string) string
- func DefaultOutputs(destination, pkgname string, noFactory bool, templates *Templates) []*gen.Output
- func GetConfigFromFile[DriverConfig any](configPath, driverConfigKey string) (gen.Config, DriverConfig, error)
- func GetConfigFromProvider[DriverConfig any](provider koanf.Provider, driverConfigKey string) (gen.Config, DriverConfig, error)
- func Types() drivers.Types
- func Version() string
- type Templates
Constants ¶
View Source
const DefaultConfigPath = "./bobgen.yaml"
Variables ¶
This section is empty.
Functions ¶
func AddPgEnumArrayType ¶ added in v0.24.0
func AddPgGenericArrayType ¶ added in v0.24.0
func DefaultOutputs ¶ added in v0.17.1
func GetConfigFromFile ¶ added in v0.17.2
func GetConfigFromProvider ¶ added in v0.17.2
Types ¶
Click to show internal directories.
Click to hide internal directories.