unmarshal config into struct with viper for consistent access

This commit is contained in:
Jakob Schrettenbrunner
2017-06-26 11:07:53 +02:00
parent b4b0c3f9e6
commit 06055d6265
10 changed files with 128 additions and 52 deletions

View File

@@ -3,9 +3,9 @@ package tools
import (
"time"
log "github.com/Sirupsen/logrus"
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
"github.com/rifflock/lfshook"
log "github.com/Sirupsen/logrus"
)
func ConfigureLogging() {