Load config from ENV
This commit is contained in:
1 parent
5518d57bbd
commit
2eb1457019
2 files changed
+10
-13
No files matched your search
@@ -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