Skip to content

Commit 7c92938

Browse files
committed
Format code
1 parent cc5d323 commit 7c92938

9 files changed

Lines changed: 19 additions & 10 deletions

File tree

cmd/cql-adapter/storage/sqlite3.go

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

cmd/cql-faucet/persistence.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"github.com/CovenantSQL/CovenantSQL/conf"
2727
"github.com/CovenantSQL/CovenantSQL/utils/log"
2828
uuid "github.com/satori/go.uuid"
29-
3029
// Load sqlite3 database driver.
3130
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
3231
)

cmd/cql-minerd/integration_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ import (
3434
"testing"
3535
"time"
3636

37-
sqlite3 "github.com/CovenantSQL/go-sqlite3-encrypt"
38-
. "github.com/smartystreets/goconvey/convey"
39-
4037
"github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces"
4138
"github.com/CovenantSQL/CovenantSQL/client"
4239
"github.com/CovenantSQL/CovenantSQL/conf"
@@ -49,6 +46,8 @@ import (
4946
"github.com/CovenantSQL/CovenantSQL/types"
5047
"github.com/CovenantSQL/CovenantSQL/utils"
5148
"github.com/CovenantSQL/CovenantSQL/utils/log"
49+
sqlite3 "github.com/CovenantSQL/go-sqlite3-encrypt"
50+
. "github.com/smartystreets/goconvey/convey"
5251
)
5352

5453
var (

cmd/cql-minerd/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import (
2828
"runtime"
2929

3030
"github.com/CovenantSQL/CovenantSQL/metric"
31-
3231
//"runtime/trace"
3332
"syscall"
3433
"time"

crypto/hash/hashfuncs.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package hash
1919
import (
2020
"encoding/binary"
2121
"hash/fnv"
22-
2322
// "crypto/sha256" benchmark is at least 10% faster on
2423
// i7-4870HQ CPU @ 2.50GHz than "github.com/minio/sha256-simd"
2524
"crypto/sha256"

storage/storage.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626

2727
"github.com/CovenantSQL/CovenantSQL/twopc"
2828
"github.com/CovenantSQL/CovenantSQL/utils/log"
29-
3029
// Register CovenantSQL/go-sqlite3-encrypt engine.
3130
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
3231
)

worker/chainbusservice_test.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright 2018 The CovenantSQL Authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package worker

worker/db.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"path/filepath"
2323

2424
"github.com/CovenantSQL/CovenantSQL/conf"
25-
2625
//"runtime/trace"
2726
"sync"
2827
"time"

xenomint/xxx_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"os"
2323
"path"
2424
"sync/atomic"
25-
2625
//"runtime/trace"
2726
"sync"
2827
"syscall"

0 commit comments

Comments
 (0)