Discover Packages
github.com/MaksKazantsev/DriverGO
internal
config
package
Version:
v0.0.0-...-9d97ec1
Opens a new window with list of versions in this module.
Published: Jul 25, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Port int `yaml:"port"`
Env string `yaml:"env"`
DB DB `yaml:"db"`
}
type DB struct {
Postgres Postgres `yaml:"postgres"`
}
type Postgres struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Name string `yaml:"name"`
User string `json:"user"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.