go-shop-b2c icon indicating copy to clipboard operation
go-shop-b2c copied to clipboard

not enough arguments in call to cache.NewRedis

Open manhtd98 opened this issue 2 years ago • 0 comments

I try to run your project:

cd $GOPATH/src
git clone
go mod tidy
go set -u -v
go build

and got this error

# go-shop-b2c/common/redis
common/redis/redis.go:17:31: not enough arguments in call to cache.NewRedis
	have (*cache.RedisOpts)
	want ("context".Context, *cache.RedisOpts)

manhtd98 avatar Aug 03 '22 10:08 manhtd98