Imports github.com/byuoitav/common/nerr github.com/byuoitav/common/structs github.com/fatih/color github.com/byuoitav/common/log Standard library imports bufio bytes context encoding/json errors fmt log math net strconv strings time