Imports github.com/lestrrat/go-file-rotatelogs github.com/rifflock/lfshook github.com/sirupsen/logrus Standard library imports bufio encoding/json fmt io net/http os strconv strings time