package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Oct 8, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Host string `env:"DB_HOST,default=localhost"`
Port string `env:"DB_PORT,default=5432"`
User string `env:"DB_USER,default=postgres"`
Password string `env:"DB_PASSWORD"`
Name string `env:"DB_NAME,default=postgres"`
Debug bool `env:"DB_DEBUG,default=false"`
TablePrefix string
}
Model defines fields common for most models.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.