maybe works now
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Jeffrey Paul 2020-09-08 21:15:50 -07:00
parent f6749f4e9e
commit 98e9eb44d3
5 changed files with 15 additions and 7 deletions

View File

@ -29,6 +29,7 @@ default: fmt
fmt: fmt:
go fmt ./... go fmt ./...
goimports -l -w .
docker-build: docker-build:
docker build -t $(IMAGENAME) . docker build -t $(IMAGENAME) .

View File

@ -3,14 +3,15 @@ package bot
//import "github.com/kr/pretty" //import "github.com/kr/pretty"
import ( import (
"fmt" "fmt"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/rs/zerolog/log"
"os" "os"
"os/signal" "os/signal"
"regexp" "regexp"
"strings" "strings"
"syscall" "syscall"
"time" "time"
"github.com/mattermost/mattermost-server/v5/model"
"github.com/rs/zerolog/log"
) )
type Bot struct { type Bot struct {

View File

@ -1,11 +1,12 @@
package bot package bot
import ( import (
"os"
"time"
"github.com/mattn/go-isatty" "github.com/mattn/go-isatty"
"github.com/rs/zerolog" "github.com/rs/zerolog"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"os"
"time"
) )
func (b *Bot) setupLogging() { func (b *Bot) setupLogging() {

View File

@ -2,13 +2,15 @@ package bot
//import "github.com/kr/pretty" //import "github.com/kr/pretty"
import ( import (
"encoding/json"
"fmt" "fmt"
"github.com/rs/zerolog/log"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"os" "os"
"regexp" "regexp"
"time" "time"
"github.com/rs/zerolog/log"
) )
type MetarResponse struct { type MetarResponse struct {

View File

@ -1,7 +1,10 @@
package main package main
import "os" import (
import "git.eeqj.de/sneak/sco/bot" "os"
"git.eeqj.de/sneak/sco/bot"
)
var Version string var Version string
var Commit string var Commit string