Load config from ENV
This commit is contained in:
@ -10,9 +10,9 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
cfg, err := config.LoadConfig("config.json")
|
||||
cfg, err := config.LoadConfig()
|
||||
if err != nil {
|
||||
panic("Could not load Config from config.json")
|
||||
panic("Could not load Config")
|
||||
}
|
||||
|
||||
bv := &bcrypt.Verifier{}
|
||||
|
Reference in New Issue
Block a user