go-shop-b2c
go-shop-b2c copied to clipboard
not enough arguments in call to cache.NewRedis
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)