FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Format code for new version goimports · developgo/CovenantSQL@cf370e9 · GitHub

Commit cf370e9

Browse files
auxten
committed
Format code for new version goimports
1 parent eff5e0a commit cf370e9

29 files changed

Lines changed: 34 additions & 29 deletions

File tree

‎blockproducer/chain.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"github.com/CovenantSQL/CovenantSQL/rpc"
3535
"github.com/CovenantSQL/CovenantSQL/utils"
3636
"github.com/CovenantSQL/CovenantSQL/utils/log"
37-
"github.com/coreos/bbolt"
37+
bolt "github.com/coreos/bbolt"
3838
"github.com/pkg/errors"
3939
)
4040

‎blockproducer/metaindex.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types"
2424
"github.com/CovenantSQL/CovenantSQL/proto"
2525
"github.com/CovenantSQL/CovenantSQL/utils"
26-
"github.com/coreos/bbolt"
26+
bolt "github.com/coreos/bbolt"
2727
"github.com/ulule/deepcopier"
2828
)
2929

‎blockproducer/metaindex_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
pi "github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces"
2525
pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types"
2626
"github.com/CovenantSQL/CovenantSQL/proto"
27-
"github.com/coreos/bbolt"
27+
bolt "github.com/coreos/bbolt"
2828
. "github.com/smartystreets/goconvey/convey"
2929
)
3030

‎blockproducer/metastate.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/CovenantSQL/CovenantSQL/proto"
2626
"github.com/CovenantSQL/CovenantSQL/utils"
2727
"github.com/CovenantSQL/CovenantSQL/utils/log"
28-
"github.com/coreos/bbolt"
28+
bolt "github.com/coreos/bbolt"
2929
"github.com/ulule/deepcopier"
3030
)
3131

@@ -84,7 +84,7 @@ func (s *metaState) loadAccountStableBalance(addr proto.AccountAddress) (b uint6
8484
"loaded": loaded,
8585
}).Debug("queried stable account")
8686
}()
87-
87+
8888
s.Lock()
8989
defer s.Unlock()
9090

‎blockproducer/metastate_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
pi "github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces"
2626
pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types"
2727
"github.com/CovenantSQL/CovenantSQL/proto"
28-
"github.com/coreos/bbolt"
28+
bolt "github.com/coreos/bbolt"
2929
. "github.com/smartystreets/goconvey/convey"
3030
)
3131

‎cmd/cql-adapter/config/config.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"github.com/CovenantSQL/CovenantSQL/cmd/cql-adapter/storage"
3030
"github.com/CovenantSQL/CovenantSQL/conf"
3131
"github.com/CovenantSQL/CovenantSQL/utils/log"
32-
"gopkg.in/yaml.v2"
32+
yaml "gopkg.in/yaml.v2"
3333
)
3434

3535
var (

‎cmd/cql-adapter/storage/sqlite3.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"math/rand"
2525
"os"
2626
"path/filepath"
27+
2728
// Import sqlite3 manually.
2829
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
2930
)

‎cmd/cql-faucet/config.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"time"
2222

2323
"github.com/CovenantSQL/CovenantSQL/utils/log"
24-
"gopkg.in/yaml.v2"
24+
yaml "gopkg.in/yaml.v2"
2525
)
2626

2727
// Config defines the configurable options for faucet application backend.

‎cmd/cql-faucet/persistence.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ import (
2525
"github.com/CovenantSQL/CovenantSQL/client"
2626
"github.com/CovenantSQL/CovenantSQL/conf"
2727
"github.com/CovenantSQL/CovenantSQL/utils/log"
28-
"github.com/satori/go.uuid"
28+
uuid "github.com/satori/go.uuid"
29+
2930
// Load sqlite3 database driver.
3031
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
3132
)

‎cmd/cql-minerd/integration_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import (
4141
"github.com/CovenantSQL/CovenantSQL/rpc"
4242
"github.com/CovenantSQL/CovenantSQL/utils"
4343
"github.com/CovenantSQL/CovenantSQL/utils/log"
44-
"github.com/CovenantSQL/go-sqlite3-encrypt"
44+
sqlite3 "github.com/CovenantSQL/go-sqlite3-encrypt"
4545
. "github.com/smartystreets/goconvey/convey"
4646
)
4747

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL