Imports github.com/antonfisher/nested-logrus-formatter github.com/gggwvg/logrotate github.com/pkg/sftp github.com/sirupsen/logrus golang.org/x/crypto/ssh Standard library imports bufio encoding/json errors fmt io io/ioutil math net os path path/filepath runtime strings time