Imports github.com/jinzhu/gorm github.com/lestrrat-go/file-rotatelogs github.com/pkg/errors github.com/rifflock/lfshook github.com/sirupsen/logrus Standard library imports fmt log os path/filepath strconv strings sync time