chore: update golangci-lint. (#757)

This commit is contained in:
Ludovic Fernandez 2019-01-11 19:23:27 +01:00 committed by GitHub
parent b91dbb6615
commit 38f335dbe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View file

@ -30,7 +30,7 @@ before_install:
- go get -u github.com/letsencrypt/pebble/...
# Install linters and misspell
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.5
- golangci-lint --version
install:

View file

@ -10,7 +10,7 @@ import (
"fmt"
"github.com/xenolf/lego/acme/api/internal/nonces"
"gopkg.in/square/go-jose.v2"
jose "gopkg.in/square/go-jose.v2"
)
// JWS Represents a JWS.

View file

@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/xenolf/lego/acme"
"github.com/xenolf/lego/platform/tester"
"gopkg.in/square/go-jose.v2"
jose "gopkg.in/square/go-jose.v2"
)
func TestOrderService_New(t *testing.T) {

View file

@ -14,7 +14,7 @@ import (
"github.com/xenolf/lego/acme"
"github.com/xenolf/lego/acme/api"
"github.com/xenolf/lego/platform/tester"
"gopkg.in/square/go-jose.v2"
jose "gopkg.in/square/go-jose.v2"
)
func TestByType(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"sync"
"time"
"github.com/ldez/go-auroradns"
auroradns "github.com/ldez/go-auroradns"
"github.com/xenolf/lego/challenge/dns01"
"github.com/xenolf/lego/platform/config/env"
)

View file

@ -7,7 +7,7 @@ import (
"net/http"
"time"
"github.com/cloudflare/cloudflare-go"
cloudflare "github.com/cloudflare/cloudflare-go"
"github.com/xenolf/lego/challenge/dns01"
"github.com/xenolf/lego/log"
"github.com/xenolf/lego/platform/config/env"

View file

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/decker502/dnspod-go"
dnspod "github.com/decker502/dnspod-go"
"github.com/xenolf/lego/challenge/dns01"
"github.com/xenolf/lego/platform/config/env"
)