Merge pull request #435 from onestraw/goimports

fix goimports error
This commit is contained in:
mrd0ll4r 2018-12-17 10:31:24 +01:00 committed by GitHub
commit 8f0fc7ba10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@ import (
"io/ioutil"
"os"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/frontend/http"
"github.com/chihaya/chihaya/frontend/udp"

View file

@ -7,7 +7,7 @@ import (
"net"
"time"
"github.com/minio/sha256-simd"
sha256 "github.com/minio/sha256-simd"
"github.com/chihaya/chihaya/pkg/log"
)

View file

@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/minio/sha256-simd"
sha256 "github.com/minio/sha256-simd"
"github.com/stretchr/testify/require"
"github.com/chihaya/chihaya/pkg/log"

View file

@ -7,7 +7,7 @@ import (
"errors"
"fmt"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/middleware"

View file

@ -21,7 +21,7 @@ import (
"github.com/SermoDigital/jose/jws"
"github.com/SermoDigital/jose/jwt"
"github.com/mendsley/gojwk"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/middleware"

View file

@ -6,7 +6,7 @@ import (
"errors"
"sync"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
)
var (

View file

@ -7,7 +7,7 @@ import (
"encoding/hex"
"fmt"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/middleware"

View file

@ -7,7 +7,7 @@ import (
"sync"
"time"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/middleware"

View file

@ -9,7 +9,7 @@ import (
"sync"
"time"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/pkg/log"

View file

@ -10,7 +10,7 @@ import (
"sync"
"time"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
"github.com/chihaya/chihaya/bittorrent"
"github.com/chihaya/chihaya/pkg/log"