This commit is contained in:
houseme authored and GitHub committed 2023-08-31 14:34:19 +08:00
commit 64c3bb60ba
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ jobs:
golangci: golangci:
strategy: strategy:
matrix: matrix:
go-version: [ '1.16','1.17','1.18','1.19','1.20' ] go-version: [ '1.16','1.17','1.18','1.19','1.20','1.21' ]
name: golangci-lint name: golangci-lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -42,7 +42,7 @@ jobs:
# strategy set # strategy set
strategy: strategy:
matrix: matrix:
go: [ '1.16','1.17','1.18','1.19','1.20' ] go: [ '1.16','1.17','1.18','1.19','1.20','1.21' ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
+2
View File
@@ -8,6 +8,8 @@ import (
) )
// Redis .redis cache // Redis .redis cache
// Deprecated: user defined implementation cache、ContextCache interface
// The implementation was officially removed in v2.1.6
type Redis struct { type Redis struct {
ctx context.Context ctx context.Context
conn redis.UniversalClient conn redis.UniversalClient