Discover Packages
github.com/yizeng/gab/gin/crud-gorm
internal
config
package
Version:
v0.0.0-...-1bdb0da
Opens a new window with list of versions in this module.
Published: Dec 26, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type APIConfig struct {
Environment string `mapstructure:"ENV"`
Host string `mapstructure:"HOST"`
Port string `mapstructure:"PORT"`
}
type GinConfig struct {
Mode string `mapstructure:"MODE"`
}
type PostgresConfig struct {
Host string `mapstructure:"HOST"`
Port string `mapstructure:"PORT"`
User string `mapstructure:"USER"`
Password string `mapstructure:"PASSWORD"`
DB string `mapstructure:"DB"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.