Imports github.com/fsnotify/fsnotify github.com/sirupsen/logrus Standard library imports SwitchLogFSNotify/basic SwitchLogFSNotify/models bufio encoding/json fmt io/ioutil myCommon/common/kafka myCommon/common/myredis myCommon/common/utils net/http os path/filepath regexp strconv strings time