Skip to content

Commit

Permalink
Updated go-helper, go-logger and go-error dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cataldo committed Jan 24, 2024
1 parent 4882855 commit ed8b558
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!--suppress ALL -->
<img align="right" src="gopher-redis.png" alt="">

[![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)
[![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)
[![Go Report Card](https://goreportcard.com/badge/github.com/GabrielHCataldo/go-redis-template)](https://goreportcard.com/report/github.com/GabrielHCataldo/go-redis-template)
[![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)
[![Open Source Helpers](https://www.codetriage.com/gabrielhcataldo/go-redis-template/badges/users.svg)](https://www.codetriage.com/gabrielhcataldo/go-mongo)
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/GabrielHCataldo/go-redis-template
go 1.21.3

require (
github.com/GabrielHCataldo/go-errors v1.0.6
github.com/GabrielHCataldo/go-helper v1.2.7
github.com/GabrielHCataldo/go-logger v1.1.5
github.com/GabrielHCataldo/go-errors v1.0.8
github.com/GabrielHCataldo/go-helper v1.2.9
github.com/GabrielHCataldo/go-logger v1.1.6
github.com/redis/go-redis/v9 v9.4.0
)

Expand Down
14 changes: 6 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
github.com/GabrielHCataldo/go-errors v1.0.6 h1:EadRykfD/VBbSFZXQgW/N9ZYYLohuP1guo+p0h4tbwQ=
github.com/GabrielHCataldo/go-errors v1.0.6/go.mod h1:D911Qvns9rDmfY+f7Y1JLgIunPbS8ubr+2edLtA8ewU=
github.com/GabrielHCataldo/go-helper v1.2.7 h1:EbYWHHDe/5cPz1M0dF17os910AClJzp/V7xkRytW9y0=
github.com/GabrielHCataldo/go-helper v1.2.7/go.mod h1:+whI36aUg1BfvLpZWJ8j81+d5iPuxl58ApOJqTIliCU=
github.com/GabrielHCataldo/go-logger v1.1.3 h1:E1KIAGaHaNaaeEcHaWwKM6rtRhc/CIrzr0T2qmYB5D4=
github.com/GabrielHCataldo/go-logger v1.1.3/go.mod h1:gbI+lrqSCG/OC6TP8rrC/VRdNEyf5JrvdbR6z+mIoyM=
github.com/GabrielHCataldo/go-logger v1.1.5 h1:a6mb1yV7rdj71zCnKLagQ2YIQNcOadlsEjcUk6PHqLA=
github.com/GabrielHCataldo/go-logger v1.1.5/go.mod h1:vWKwItwUTCPzywbosiUC56ehnAt3k/GFtlm+fmzWm2Y=
github.com/GabrielHCataldo/go-errors v1.0.8 h1:28ryfzyU0fYDNgg+37zZauwnRRMyFSujWpntmuuCx00=
github.com/GabrielHCataldo/go-errors v1.0.8/go.mod h1:ka5NCxa3Ry4TqvJXJMSCl5Vj3QWrdLMNAUXQNSjD9kg=
github.com/GabrielHCataldo/go-helper v1.2.9 h1:GLIj6vwvBHEeGdwPoIaenpxB7C7D/IPmOxrLudhyviY=
github.com/GabrielHCataldo/go-helper v1.2.9/go.mod h1:+whI36aUg1BfvLpZWJ8j81+d5iPuxl58ApOJqTIliCU=
github.com/GabrielHCataldo/go-logger v1.1.6 h1:D1fFmDy+94QtPyuhOz1F6H7jFxnFd5/+rF1iLyt2J0E=
github.com/GabrielHCataldo/go-logger v1.1.6/go.mod h1:Z+bJSxDzm0vLzV93qn+FOPbiQ3XX2JIaSABA0++Z9r0=
github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs=
github.com/bsm/ginkgo/v2 v2.12.0/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c=
github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA=
Expand Down
2 changes: 1 addition & 1 deletion redis/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (t Template) SprintKey(vs ...any) string {
for _, v := range vs {
s, err := helper.ConvertToString(v)
if helper.IsNil(err) {
if helper.IsNotEqual(builder.Len(), 0) {
if helper.IsNotEmpty(builder.Len()) {
builder.WriteString(fmt.Sprint(":", s))
} else {
builder.WriteString(s)
Expand Down

0 comments on commit ed8b558

Please sign in to comment.