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:
go fmt ./...
goimports -l -w .
docker-build:
docker build -t $(IMAGENAME) .

View File

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

View File

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

View File

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

View File

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