Skip to content

Commit bc2866a

Browse files
committed
feat: support singleflight
1 parent efc966f commit bc2866a

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ go 1.18
55
require (
66
github.com/bluele/gcache v0.0.2
77
github.com/glebarez/sqlite v1.7.0
8+
github.com/hashicorp/go-multierror v1.1.1
89
github.com/json-iterator/go v1.1.12
910
github.com/karlseguin/ccache/v3 v3.0.3
1011
github.com/redis/go-redis/v9 v9.0.2
@@ -20,7 +21,6 @@ require (
2021
github.com/google/uuid v1.3.0 // indirect
2122
github.com/gopherjs/gopherjs v1.17.2 // indirect
2223
github.com/hashicorp/errwrap v1.0.0 // indirect
23-
github.com/hashicorp/go-multierror v1.1.1 // indirect
2424
github.com/jinzhu/inflection v1.0.0 // indirect
2525
github.com/jinzhu/now v1.1.5 // indirect
2626
github.com/jtolds/gls v4.20.0+incompatible // indirect
@@ -29,8 +29,6 @@ require (
2929
github.com/modern-go/reflect2 v1.0.2 // indirect
3030
github.com/remyoudompheng/bigfft v0.0.0-20230126093431-47fa9a501578 // indirect
3131
github.com/smartystreets/assertions v1.13.0 // indirect
32-
go.uber.org/atomic v1.7.0 // indirect
33-
go.uber.org/multierr v1.9.0 // indirect
3432
golang.org/x/sys v0.4.0 // indirect
3533
modernc.org/libc v1.22.2 // indirect
3634
modernc.org/mathutil v1.5.0 // indirect

go.sum

-4
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3
5858
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
5959
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
6060
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
61-
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
62-
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
63-
go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI=
64-
go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ=
6561
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
6662
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
6763
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

0 commit comments

Comments
 (0)