package
Version:
v0.0.0-...-b335a3f
Opens a new window with list of versions in this module.
Published: Oct 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Server string `envconfig:"MYAPP_host"`
Port string `envconfig:"MYAPP_port,default=1433"`
Username string `envconfig:"MYAPP_username"`
Password string `envconfig:"MYAPP_password"`
Database string `envconfig:"MYAPP_database"`
}
Config struct to hold the app config
AppConfig returns the current AppConfig
Source Files
¶
Click to show internal directories.
Click to hide internal directories.