Skip to content

Commit

Permalink
Merge pull request #53 from arnottcr/upstream-major
Browse files Browse the repository at this point in the history
add mod file and bump major version
  • Loading branch information
peterbourgon committed Apr 25, 2019
2 parents 0646cca + 1d0df2d commit 0be1b92
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/advanced-transform/advanced-transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/peterbourgon/diskv"
"github.com/peterbourgon/diskv/v3"
)

func AdvancedTransformExample(key string) *diskv.PathKey {
Expand Down
2 changes: 1 addition & 1 deletion examples/content-addressable-store/cas.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"io"

"github.com/peterbourgon/diskv"
"github.com/peterbourgon/diskv/v3"
)

const transformBlockSize = 2 // grouping of chars per directory depth
Expand Down
2 changes: 1 addition & 1 deletion examples/git-like-store/git-like-store.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"regexp"
"strings"

"github.com/peterbourgon/diskv"
"github.com/peterbourgon/diskv/v3"
)

var hex40 = regexp.MustCompile("[0-9a-fA-F]{40}")
Expand Down
2 changes: 1 addition & 1 deletion examples/super-simple-store/super-simple-store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/peterbourgon/diskv"
"github.com/peterbourgon/diskv/v3"
)

func main() {
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/peterbourgon/diskv/v3

go 1.12

require github.com/google/btree v1.0.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
2 changes: 1 addition & 1 deletion import_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"os"

"github.com/peterbourgon/diskv"
"github.com/peterbourgon/diskv/v3"

"testing"
)
Expand Down

0 comments on commit 0be1b92

Please sign in to comment.