vendor: switch bolt implementation to etcd-io/bbolt v1.3.5

This commit is contained in:
mappu 2021-04-12 17:00:40 +12:00
parent 5ce6368c4a
commit b0092c4a6e
3 changed files with 6 additions and 1 deletions

2
go.mod
View File

@ -3,3 +3,5 @@ module code.ivysaur.me/qbolt
go 1.15 go 1.15
require github.com/boltdb/bolt v1.3.1 require github.com/boltdb/bolt v1.3.1
replace github.com/boltdb/bolt => go.etcd.io/bbolt v1.3.5

3
go.sum
View File

@ -1,2 +1,5 @@
github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4= github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4=
github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps=
go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0=
go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

View File

@ -8,7 +8,7 @@ import (
"os" "os"
"time" "time"
"github.com/boltdb/bolt" bolt "github.com/boltdb/bolt"
) )
const ( const (