commit f5e3da7eea2d7c32b4a4d8e64ff90f1d1059a9d5
Author: Duco van Amstel <duco.vanamstel@gmail.com>
Date: Thu Nov 15 18:24:22 2018 +0000
diff --git a/.travis.yml b/.travis.yml
index 8497a4e..a2b69c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -307 +307 @@ before_script:
- PKGS=$(go list ./... | grep -v /vendor/) # All the import paths, excluding vendor/
# - go get github.com/golang/lint/golint # Linter
#- go get honnef.co/go/tools/cmd/megacheck # Badass static analyzer/linter
- - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12
+ - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2
# Anything in before_script: that returns a nonzero exit code will
@@ -407 +407 @@ script:
#- test -z "$(go fmt ./...)" # Fail if a .go file hasn't been formatted with gofmt
- go test -v -race $PKGS # Run all the tests with the race detector enabled
#- go vet $PKGS # go vet is the official Go static analyzer
- - golangci-lint run --enable-all -D golint -D lll -D errcheck -D goimports -D gosec -D maligned -D prealloc -D gocyclo -D gochecknoglobals
+ - golangci-lint run --enable-all -D golint -D lll -D errcheck -D gosec -D maligned -D prealloc -D gocyclo -D gochecknoglobals
#- megacheck $PKGS # "go vet on steroids" + linter
- /bin/bash ci/bintray.sh
#- golint -set_exit_status $PKGS # one last linter
diff --git a/bridge/steam/steam.go b/bridge/steam/steam.go
index a35a9d5..b04c10b 100644
--- a/bridge/steam/steam.go
+++ b/bridge/steam/steam.go
@@ -26 +29 @@ package bsteam
import (
"fmt"
+ "strconv"
+ "sync"
+ "time"
"github.com/42wim/matterbridge/bridge"
"github.com/42wim/matterbridge/bridge/config"
@@ -910 +126 @@ import (
"github.com/Philipp15b/go-steam"
"github.com/Philipp15b/go-steam/protocol/steamlang"
"github.com/Philipp15b/go-steam/steamid"
- //"io/ioutil"
- "strconv"
- "sync"
- "time"
)
type Bsteam struct {
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index ae7cd94..edd298d 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -1313 +1312 @@ import (
"sync"
"time"
- prefixed "github.com/matterbridge/logrus-prefixed-formatter"
- log "github.com/sirupsen/logrus"
-
"github.com/gorilla/websocket"
"github.com/hashicorp/golang-lru"
"github.com/jpillora/backoff"
+ prefixed "github.com/matterbridge/logrus-prefixed-formatter"
"github.com/mattermost/platform/model"
+ log "github.com/sirupsen/logrus"
)
type Credentials struct {