diff --git a/_examples/tutorial/url-shortener/main.go b/_examples/tutorial/url-shortener/main.go index ad1c2e6b..4dfd8baa 100644 --- a/_examples/tutorial/url-shortener/main.go +++ b/_examples/tutorial/url-shortener/main.go @@ -2,7 +2,7 @@ // // Article: https://medium.com/@kataras/a-url-shortener-service-using-go-iris-and-bolt-4182f0b00ae7 // -// $ go get github.com/etcd-io/bbolt +// $ go get go.etcd.io/bbolt/... // $ go get github.com/iris-contrib/go.uuid // $ cd $GOPATH/src/github.com/kataras/iris/_examples/tutorial/url-shortener // $ go build diff --git a/_examples/tutorial/url-shortener/store.go b/_examples/tutorial/url-shortener/store.go index ebf5fd88..7da5d11e 100644 --- a/_examples/tutorial/url-shortener/store.go +++ b/_examples/tutorial/url-shortener/store.go @@ -3,7 +3,7 @@ package main import ( "bytes" - bolt "github.com/etcd-io/bbolt" + bolt "go.etcd.io/bbolt" ) // Panic panics, change it if you don't want to panic on critical INITIALIZE-ONLY-ERRORS diff --git a/go.mod b/go.mod index aa2f4ce4..95d85c32 100644 --- a/go.mod +++ b/go.mod @@ -7,12 +7,11 @@ require ( github.com/CloudyKit/jet/v3 v3.0.0 github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398 github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible - github.com/dgraph-io/badger v1.6.0 + github.com/dgraph-io/badger v1.6.1 github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 - github.com/etcd-io/bbolt v1.3.3 github.com/fatih/structs v1.1.0 github.com/gavv/httpexpect v2.0.0+incompatible - github.com/golang/protobuf v1.3.5 + github.com/golang/protobuf v1.4.0 github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38 github.com/hashicorp/go-version v1.2.0 github.com/iris-contrib/blackfriday v2.0.0+incompatible @@ -25,14 +24,15 @@ require ( github.com/kataras/neffos v0.0.14 github.com/kataras/pio v0.0.5 github.com/kataras/sitemap v0.0.5 - github.com/klauspost/compress v1.9.7 - github.com/mediocregopher/radix/v3 v3.4.2 + github.com/klauspost/compress v1.10.5 + github.com/mediocregopher/radix/v3 v3.5.0 github.com/microcosm-cc/bluemonday v1.0.2 github.com/ryanuber/columnize v2.1.0+incompatible github.com/schollz/closestmatch v2.1.0+incompatible github.com/vmihailenco/msgpack/v5 v5.0.0-alpha.2 - golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876 + go.etcd.io/bbolt v1.3.4 + golang.org/x/crypto v0.0.0-20200427165652-729f1e841bcc golang.org/x/text v0.3.2 - gopkg.in/ini.v1 v1.51.1 - gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2 + gopkg.in/ini.v1 v1.55.0 + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c ) diff --git a/sessions/sessiondb/boltdb/database.go b/sessions/sessiondb/boltdb/database.go index 2c35ff58..5dc63746 100644 --- a/sessions/sessiondb/boltdb/database.go +++ b/sessions/sessiondb/boltdb/database.go @@ -9,8 +9,8 @@ import ( "github.com/kataras/iris/v12/sessions" - bolt "github.com/etcd-io/bbolt" "github.com/kataras/golog" + bolt "go.etcd.io/bbolt" ) // DefaultFileMode used as the default database's "fileMode"