imports, comments and formatting

This commit is contained in:
2022-02-20 20:58:48 +00:00
parent 75a6ce1577
commit 91b8cc06b2
5 changed files with 39 additions and 40 deletions

View File

@ -4,12 +4,12 @@ import (
"os"
)
// Config contains all needed configurations
// Config contains all needed configurations.
type Config struct {
DatabaseConnection string
}
// LoadConfig from path
// LoadConfig from path.
func LoadConfig() (*Config, error) {
configuration := Config{
DatabaseConnection: os.Getenv("BUDGETEER_DB"),