Add code linting to build #13

Merged
jacob1123 merged 57 commits from linting into master 2022-02-20 23:53:48 +01:00
Showing only changes of commit 1dcd0d2f6d - Show all commits

View File

@ -1,19 +1,19 @@
package config
import (
"os"
)
// Config contains all needed configurations
type Config struct {
DatabaseConnection string
}
// LoadConfig from path
func LoadConfig() (*Config, error) {
configuration := Config{
DatabaseConnection: os.Getenv("BUDGETEER_DB"),
}
return &configuration, nil
}
package config
import (
"os"
)
// Config contains all needed configurations
type Config struct {
DatabaseConnection string
}
// LoadConfig from path
func LoadConfig() (*Config, error) {
configuration := Config{
DatabaseConnection: os.Getenv("BUDGETEER_DB"),
}
return &configuration, nil
}