File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 3
3
<!-- suppress ALL -->
4
4
<img align =" right " src =" gopher-redis.png " alt =" " >
5
5
6
- [ ![ Project status] ( https://img.shields.io/badge/version-v1.0.8 -vividgreen.svg )] ( https://github.com/GabrielHCataldo/go-redis-template/releases/tag/v1.0.8 )
6
+ [ ![ Project status] ( https://img.shields.io/badge/version-v1.0.9 -vividgreen.svg )] ( https://github.com/GabrielHCataldo/go-redis-template/releases/tag/v1.0.9 )
7
7
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/GabrielHCataldo/go-redis-template )] ( https://goreportcard.com/report/github.com/GabrielHCataldo/go-redis-template )
8
8
[ ![ Coverage Status] ( https://coveralls.io/repos/GabrielHCataldo/go-redis-template/badge.svg?branch=main&service=github )] ( https://coveralls.io/github/GabrielHCataldo/go-mongo?branch=main )
9
9
[ ![ Open Source Helpers] ( https://www.codetriage.com/gabrielhcataldo/go-redis-template/badges/users.svg )] ( https://www.codetriage.com/gabrielhcataldo/go-mongo )
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ module github.com/GabrielHCataldo/go-redis-template
3
3
go 1.21.3
4
4
5
5
require (
6
- github.com/GabrielHCataldo/go-errors v1.0.6
7
- github.com/GabrielHCataldo/go-helper v1.2.7
8
- github.com/GabrielHCataldo/go-logger v1.1.5
6
+ github.com/GabrielHCataldo/go-errors v1.0.8
7
+ github.com/GabrielHCataldo/go-helper v1.2.9
8
+ github.com/GabrielHCataldo/go-logger v1.1.6
9
9
github.com/redis/go-redis/v9 v9.4.0
10
10
)
11
11
Original file line number Diff line number Diff line change 1
- github.com/GabrielHCataldo/go-errors v1.0.6 h1:EadRykfD/VBbSFZXQgW/N9ZYYLohuP1guo+p0h4tbwQ =
2
- github.com/GabrielHCataldo/go-errors v1.0.6 /go.mod h1:D911Qvns9rDmfY+f7Y1JLgIunPbS8ubr+2edLtA8ewU =
3
- github.com/GabrielHCataldo/go-helper v1.2.7 h1:EbYWHHDe/5cPz1M0dF17os910AClJzp/V7xkRytW9y0 =
4
- github.com/GabrielHCataldo/go-helper v1.2.7 /go.mod h1:+whI36aUg1BfvLpZWJ8j81+d5iPuxl58ApOJqTIliCU =
5
- github.com/GabrielHCataldo/go-logger v1.1.3 h1:E1KIAGaHaNaaeEcHaWwKM6rtRhc/CIrzr0T2qmYB5D4 =
6
- github.com/GabrielHCataldo/go-logger v1.1.3 /go.mod h1:gbI+lrqSCG/OC6TP8rrC/VRdNEyf5JrvdbR6z+mIoyM =
7
- github.com/GabrielHCataldo/go-logger v1.1.5 h1:a6mb1yV7rdj71zCnKLagQ2YIQNcOadlsEjcUk6PHqLA =
8
- github.com/GabrielHCataldo/go-logger v1.1.5 /go.mod h1:vWKwItwUTCPzywbosiUC56ehnAt3k/GFtlm+fmzWm2Y =
1
+ github.com/GabrielHCataldo/go-errors v1.0.8 h1:28ryfzyU0fYDNgg+37zZauwnRRMyFSujWpntmuuCx00 =
2
+ github.com/GabrielHCataldo/go-errors v1.0.8 /go.mod h1:ka5NCxa3Ry4TqvJXJMSCl5Vj3QWrdLMNAUXQNSjD9kg =
3
+ github.com/GabrielHCataldo/go-helper v1.2.9 h1:GLIj6vwvBHEeGdwPoIaenpxB7C7D/IPmOxrLudhyviY =
4
+ github.com/GabrielHCataldo/go-helper v1.2.9 /go.mod h1:+whI36aUg1BfvLpZWJ8j81+d5iPuxl58ApOJqTIliCU =
5
+ github.com/GabrielHCataldo/go-logger v1.1.6 h1:D1fFmDy+94QtPyuhOz1F6H7jFxnFd5/+rF1iLyt2J0E =
6
+ github.com/GabrielHCataldo/go-logger v1.1.6 /go.mod h1:Z+bJSxDzm0vLzV93qn+FOPbiQ3XX2JIaSABA0++Z9r0 =
9
7
github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs =
10
8
github.com/bsm/ginkgo/v2 v2.12.0 /go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c =
11
9
github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA =
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ func (t Template) SprintKey(vs ...any) string {
218
218
for _ , v := range vs {
219
219
s , err := helper .ConvertToString (v )
220
220
if helper .IsNil (err ) {
221
- if helper .IsNotEqual (builder .Len (), 0 ) {
221
+ if helper .IsNotEmpty (builder .Len ()) {
222
222
builder .WriteString (fmt .Sprint (":" , s ))
223
223
} else {
224
224
builder .WriteString (s )
You can’t perform that action at this time.
0 commit comments