diff --git a/.travis.yml b/.travis.yml index cc28df6a..11e6a2d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ language: go +env: + - GO111MODULE=on + go: - 1.x - tip diff --git a/caches_bench/caches_bench_test.go b/caches_bench/caches_bench_test.go index f998dcce..a121831e 100644 --- a/caches_bench/caches_bench_test.go +++ b/caches_bench/caches_bench_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/allegro/bigcache" + "github.com/allegro/bigcache/v2" "github.com/coocood/freecache" ) diff --git a/caches_bench/caches_gc_overhead_comparison.go b/caches_bench/caches_gc_overhead_comparison.go index 7e212103..2a1a3859 100644 --- a/caches_bench/caches_gc_overhead_comparison.go +++ b/caches_bench/caches_gc_overhead_comparison.go @@ -6,7 +6,7 @@ import ( "runtime/debug" "time" - "github.com/allegro/bigcache" + "github.com/allegro/bigcache/v2" "github.com/coocood/freecache" ) diff --git a/server/server.go b/server/server.go index 35843437..4d110bfa 100644 --- a/server/server.go +++ b/server/server.go @@ -8,7 +8,7 @@ import ( "os" "strconv" - "github.com/allegro/bigcache" + "github.com/allegro/bigcache/v2" ) const ( diff --git a/server/server_test.go b/server/server_test.go index 9b8e5646..c3c43a05 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/allegro/bigcache" + "github.com/allegro/bigcache/v2" ) const (