fix goimports error

Change-Id: I0f6e383ec1081cc47c690fdaab3fd35590a2634b
This commit is contained in:
onestraw 2018-12-17 16:59:44 +08:00
parent dcd8e8ea86
commit e09d11e4b9
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"