| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent eff5e0a commit cf370e9
29 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ import ( | |||
| 34 | 34 | "github.com/CovenantSQL/CovenantSQL/rpc" | |
| 35 | 35 | "github.com/CovenantSQL/CovenantSQL/utils" | |
| 36 | 36 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 37 | - "github.com/coreos/bbolt" | ||
| 37 | + bolt "github.com/coreos/bbolt" | ||
| 38 | 38 | "github.com/pkg/errors" | |
| 39 | 39 | ) | |
| 40 | 40 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,7 @@ import ( | |||
| 23 | 23 | pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types" | |
| 24 | 24 | "github.com/CovenantSQL/CovenantSQL/proto" | |
| 25 | 25 | "github.com/CovenantSQL/CovenantSQL/utils" | |
| 26 | - "github.com/coreos/bbolt" | ||
| 26 | + bolt "github.com/coreos/bbolt" | ||
| 27 | 27 | "github.com/ulule/deepcopier" | |
| 28 | 28 | ) | |
| 29 | 29 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,7 @@ import ( | |||
| 24 | 24 | pi "github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces" | |
| 25 | 25 | pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types" | |
| 26 | 26 | "github.com/CovenantSQL/CovenantSQL/proto" | |
| 27 | - "github.com/coreos/bbolt" | ||
| 27 | + bolt "github.com/coreos/bbolt" | ||
| 28 | 28 | . "github.com/smartystreets/goconvey/convey" | |
| 29 | 29 | ) | |
| 30 | 30 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,7 +25,7 @@ import ( | |||
| 25 | 25 | "github.com/CovenantSQL/CovenantSQL/proto" | |
| 26 | 26 | "github.com/CovenantSQL/CovenantSQL/utils" | |
| 27 | 27 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 28 | - "github.com/coreos/bbolt" | ||
| 28 | + bolt "github.com/coreos/bbolt" | ||
| 29 | 29 | "github.com/ulule/deepcopier" | |
| 30 | 30 | ) | |
| 31 | 31 | ||
@@ -84,7 +84,7 @@ func (s *metaState) loadAccountStableBalance(addr proto.AccountAddress) (b uint6 | |||
| 84 | 84 | "loaded": loaded, | |
| 85 | 85 | }).Debug("queried stable account") | |
| 86 | 86 | }() | |
| 87 | - | ||
| 87 | + | ||
| 88 | 88 | s.Lock() | |
| 89 | 89 | defer s.Unlock() | |
| 90 | 90 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,7 +25,7 @@ import ( | |||
| 25 | 25 | pi "github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces" | |
| 26 | 26 | pt "github.com/CovenantSQL/CovenantSQL/blockproducer/types" | |
| 27 | 27 | "github.com/CovenantSQL/CovenantSQL/proto" | |
| 28 | - "github.com/coreos/bbolt" | ||
| 28 | + bolt "github.com/coreos/bbolt" | ||
| 29 | 29 | . "github.com/smartystreets/goconvey/convey" | |
| 30 | 30 | ) | |
| 31 | 31 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ import ( | |||
| 29 | 29 | "github.com/CovenantSQL/CovenantSQL/cmd/cql-adapter/storage" | |
| 30 | 30 | "github.com/CovenantSQL/CovenantSQL/conf" | |
| 31 | 31 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 32 | - "gopkg.in/yaml.v2" | ||
| 32 | + yaml "gopkg.in/yaml.v2" | ||
| 33 | 33 | ) | |
| 34 | 34 | ||
| 35 | 35 | var ( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,6 +24,7 @@ import ( | |||
| 24 | 24 | "math/rand" | |
| 25 | 25 | "os" | |
| 26 | 26 | "path/filepath" | |
| 27 | + | ||
| 27 | 28 | // Import sqlite3 manually. | |
| 28 | 29 | _ "github.com/CovenantSQL/go-sqlite3-encrypt" | |
| 29 | 30 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,7 @@ import ( | |||
| 21 | 21 | "time" | |
| 22 | 22 | ||
| 23 | 23 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 24 | - "gopkg.in/yaml.v2" | ||
| 24 | + yaml "gopkg.in/yaml.v2" | ||
| 25 | 25 | ) | |
| 26 | 26 | ||
| 27 | 27 | // Config defines the configurable options for faucet application backend. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,7 +25,8 @@ import ( | |||
| 25 | 25 | "github.com/CovenantSQL/CovenantSQL/client" | |
| 26 | 26 | "github.com/CovenantSQL/CovenantSQL/conf" | |
| 27 | 27 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 28 | - "github.com/satori/go.uuid" | ||
| 28 | + uuid "github.com/satori/go.uuid" | ||
| 29 | + | ||
| 29 | 30 | // Load sqlite3 database driver. | |
| 30 | 31 | _ "github.com/CovenantSQL/go-sqlite3-encrypt" | |
| 31 | 32 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,7 +41,7 @@ import ( | |||
| 41 | 41 | "github.com/CovenantSQL/CovenantSQL/rpc" | |
| 42 | 42 | "github.com/CovenantSQL/CovenantSQL/utils" | |
| 43 | 43 | "github.com/CovenantSQL/CovenantSQL/utils/log" | |
| 44 | - "github.com/CovenantSQL/go-sqlite3-encrypt" | ||
| 44 | + sqlite3 "github.com/CovenantSQL/go-sqlite3-encrypt" | ||
| 45 | 45 | . "github.com/smartystreets/goconvey/convey" | |
| 46 | 46 | ) | |
| 47 | 47 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments