Imports github.com/spf13/viper github.com/iancoleman/strcase github.com/hpcloud/tail github.com/eclipse/paho.mqtt.golang Standard library imports encoding/json flag fmt log os regexp strings