Versions in this module Expand all Collapse all v0 v0.1.2 Nov 19, 2024 v0.1.0 Nov 19, 2024 Changes in this version + const Disable + const Require + const UTC + const VerifyCA + const VerifyFull + var GormClient *gorm.DB + func CreateDB(cfg *ConfigPG, dbName string) + func CreateTables(cfg *ConfigPG, tableModels ...any) + func EnablePostGIS(cfg *ConfigPG) + func GenQuery(cfg *ConfigPG, models ...any) + func GenerateModelFromTable(cfg *ConfigPG, tableNames ...string) + type ConfigPG struct + DSN PostgresDSN + DebugMode bool + LogFileName string + func (c *ConfigPG) Check() + func (c *ConfigPG) Close() + func (c *ConfigPG) Copy() *ConfigPG + func (c *ConfigPG) Init() + func (c *ConfigPG) NewDefaultDB() *gorm.DB + type PostgresDSN struct + DBName string + Host string + Password string + Port int + SSLMode sSLMode + TimeZone timeZone + User string + func (x *PostgresDSN) GetDSN() string + type Uint64Array []uint64 + func (a *Uint64Array) Scan(src interface{}) error + func (a Uint64Array) Value() (driver.Value, error)