Skip to content

Commit

Permalink
Updated bbolt import path
Browse files Browse the repository at this point in the history
  • Loading branch information
yamamushi committed Aug 29, 2018
1 parent bda68da commit d01b698
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bucket.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package storm

import "github.com/coreos/bbolt"
import bolt "go.etcd.io/bbolt"

// CreateBucketIfNotExists creates the bucket below the current node if it doesn't
// already exist.
Expand Down
2 changes: 1 addition & 1 deletion examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/asdine/storm"
"github.com/asdine/storm/codec/gob"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

func ExampleDB_Save() {
Expand Down
2 changes: 1 addition & 1 deletion extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/asdine/storm/index"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// Storm tags
Expand Down
2 changes: 1 addition & 1 deletion finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/asdine/storm/index"
"github.com/asdine/storm/q"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// A Finder can fetch types from BoltDB.
Expand Down
2 changes: 1 addition & 1 deletion finder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion index/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"

"github.com/asdine/storm/internal"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// NewListIndex loads a ListIndex
Expand Down
2 changes: 1 addition & 1 deletion index/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/asdine/storm"
"github.com/asdine/storm/codec/gob"
"github.com/asdine/storm/index"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion index/unique.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"

"github.com/asdine/storm/internal"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// NewUniqueIndex loads a UniqueIndex
Expand Down
2 changes: 1 addition & 1 deletion index/unique_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/asdine/storm"
"github.com/asdine/storm/codec/gob"
"github.com/asdine/storm/index"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/boltdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package internal
import (
"bytes"

"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// Cursor that can be reversed
Expand Down
2 changes: 1 addition & 1 deletion kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storm
import (
"reflect"

"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// KeyValueStore can store and fetch values by key
Expand Down
2 changes: 1 addition & 1 deletion kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/asdine/storm/codec/gob"
"github.com/asdine/storm/codec/json"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storm
import (
"reflect"

"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package storm

import (
"github.com/asdine/storm/codec"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// A Node in Storm represents the API to a BoltDB bucket.
Expand Down
2 changes: 1 addition & 1 deletion node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/asdine/storm/codec/gob"
"github.com/asdine/storm/codec/json"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/asdine/storm/codec"
"github.com/asdine/storm/index"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// BoltOptions used to pass options to BoltDB.
Expand Down
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storm
import (
"github.com/asdine/storm/internal"
"github.com/asdine/storm/q"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// Select a list of records that match a list of matchers. Doesn't use indexes.
Expand Down
2 changes: 1 addition & 1 deletion scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package storm
import (
"bytes"

"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// A BucketScanner scans a Node for a list of buckets
Expand Down
2 changes: 1 addition & 1 deletion sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/asdine/storm/index"
"github.com/asdine/storm/q"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

type item struct {
Expand Down
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/asdine/storm/index"
"github.com/asdine/storm/q"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

// TypeStore stores user defined types in BoltDB.
Expand Down
2 changes: 1 addition & 1 deletion store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/asdine/storm/codec/gob"
"github.com/asdine/storm/codec/json"
"github.com/asdine/storm/q"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion storm.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/asdine/storm/codec"
"github.com/asdine/storm/codec/json"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion storm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"

"github.com/asdine/storm/codec/json"
"github.com/coreos/bbolt"
bolt "go.etcd.io/bbolt"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion transaction.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package storm

import "github.com/coreos/bbolt"
import bolt "go.etcd.io/bbolt"

// Tx is a transaction.
type Tx interface {
Expand Down

0 comments on commit d01b698

Please sign in to comment.