File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "context"
66 "testing"
77
8- httpcache "github.com/TheBigRoomXXL /httpcache/core"
8+ httpcache "pkg.lovergne.dev /httpcache/core"
99)
1010
1111// Cache excercises a httpcache.Cache implementation.
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package test_test
33import (
44 "testing"
55
6- httpcache "github.com/TheBigRoomXXL /httpcache/core"
7- "github.com/TheBigRoomXXL /httpcache/core/test"
6+ httpcache "pkg.lovergne.dev /httpcache/core"
7+ "pkg.lovergne.dev /httpcache/core/test"
88)
99
1010func TestMemoryCache (t * testing.T ) {
Original file line number Diff line number Diff line change 44 "os"
55 "testing"
66
7- "github.com/TheBigRoomXXL/httpcache/core/test"
87 "github.com/peterbourgon/diskv/v3"
8+ "pkg.lovergne.dev/httpcache/core/test"
99)
1010
1111func TestDiskCache (t * testing.T ) {
Original file line number Diff line number Diff line change 11module pkg.lovergne.dev/httpcache/diskv
22
33go 1.24.9
4-
5- require (
6- pkg.lovergne.dev/httpcache/core v0.1.0-beta-6
7- github.com/peterbourgon/diskv/v3 v3.0.1
8- )
9-
10- require github.com/google/btree v1.0.0 // indirect
Original file line number Diff line number Diff line change 11github.com/stretchr/objx v0.5.2 /go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA =
22pkg.lovergne.dev/httpcache/core v0.1.0-beta-4 /go.mod h1:I2A9c2qGjJpALbZUgVDWCk5OH6HxP1swQwQR91C9u6E =
3+ pkg.lovergne.dev/httpcache/core v0.1.0-beta-7 /go.mod h1:CiUuGEzokald+Awa8A2Q3q6yi4ujo7F3sO4XZwY7deI =
Original file line number Diff line number Diff line change 66
77 "github.com/bradfitz/gomemcache/memcache"
88
9- "github.com/TheBigRoomXXL /httpcache/core/test"
9+ "pkg.lovergne.dev /httpcache/core/test"
1010)
1111
1212const testServer = "localhost:11211"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package otter
33import (
44 "context"
55
6- httpcache "github.com/TheBigRoomXXL/httpcache/core"
76 "github.com/maypok86/otter/v2"
7+ httpcache "pkg.lovergne.dev/httpcache/core"
88)
99
1010// cache is an implementation of httpcache.Cache that caches responses in memory with Otter
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package otter
33import (
44 "testing"
55
6- "github.com/TheBigRoomXXL/httpcache/core/test"
76 "github.com/maypok86/otter/v2"
7+ "pkg.lovergne.dev/httpcache/core/test"
88)
99
1010func TestOtterCache (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ package redis
44import (
55 "context"
66
7- httpcache "github.com/TheBigRoomXXL/httpcache/core"
87 "github.com/gomodule/redigo/redis"
8+ httpcache "pkg.lovergne.dev/httpcache/core"
99)
1010
1111// cache is an implementation of httpcache.Cache that caches responses in a
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package redis
33import (
44 "testing"
55
6- "github.com/TheBigRoomXXL/httpcache/core/test"
76 "github.com/gomodule/redigo/redis"
7+ "pkg.lovergne.dev/httpcache/core/test"
88)
99
1010func TestRedisCache (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments