Skip to content

Commit

Permalink
Upgrade go-logger and go-helper libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cataldo committed Mar 31, 2024
1 parent 3245dcc commit 2a14515
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 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.1.4-vividgreen.svg)](https://github.com/GabrielHCataldo/go-redis-template/releases/tag/v1.1.4)
[![Project status](https://img.shields.io/badge/version-v1.1.5-vividgreen.svg)](https://github.com/GabrielHCataldo/go-redis-template/releases/tag/v1.1.5)
[![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
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module github.com/GabrielHCataldo/go-redis-template
go 1.21.3

require (
github.com/GabrielHCataldo/go-errors v1.1.2
github.com/GabrielHCataldo/go-helper v1.3.7
github.com/GabrielHCataldo/go-logger v1.2.4
github.com/GabrielHCataldo/go-helper v1.6.6
github.com/GabrielHCataldo/go-logger v1.3.0
github.com/redis/go-redis/v9 v9.4.0
)

Expand Down
10 changes: 4 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
github.com/GabrielHCataldo/go-errors v1.1.2 h1:pzfegYVLH6+7pUzymcSU2HreUWiahGTJCOz+FMtgqyQ=
github.com/GabrielHCataldo/go-errors v1.1.2/go.mod h1:tJH0y1gLoR8uJS5SeuMpBzmcasZpI00j/PnH4HXTHpE=
github.com/GabrielHCataldo/go-helper v1.3.7 h1:aAUdFNJJyx6YCx9q4+1qaO/jmBkztDwwZiLtnip0kcI=
github.com/GabrielHCataldo/go-helper v1.3.7/go.mod h1:+whI36aUg1BfvLpZWJ8j81+d5iPuxl58ApOJqTIliCU=
github.com/GabrielHCataldo/go-logger v1.2.4 h1:a0IrcAdBa0dh4UUvQEy2kGbif3gGzpvjmPA4nIJOEVA=
github.com/GabrielHCataldo/go-logger v1.2.4/go.mod h1:1Vn/557fErplbuV+1jT/5U4Xi6/8+6cyZaj8niSv2uA=
github.com/GabrielHCataldo/go-helper v1.6.6 h1:fpfsFBd5GERzNjd+QoNJKt52bIidH9gmZsmbPiBD6ho=
github.com/GabrielHCataldo/go-helper v1.6.6/go.mod h1:0lWjHErv57Qkk+w25kbYKTmZYrNe0/0q0wUlt00OmRg=
github.com/GabrielHCataldo/go-logger v1.3.0 h1:fKjEXOYJ0Tk3DrFTOVdFXNhp+szlTUFfZEnByQdInxY=
github.com/GabrielHCataldo/go-logger v1.3.0/go.mod h1:d68a0zmUQJZCnqMIG8fze8fkBhjCb0A9QpeN7f32vnA=
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 @@ -129,7 +129,7 @@ func (t *Template) Rename(ctx context.Context, key, newKey any) error {
//
// If the return is null, the operation was performed successfully, otherwise an error occurred in the operation.
func (t *Template) Get(ctx context.Context, key, dest any) error {
if !helper.IsPointer(dest) {
if !helper.IsPointerType(dest) {
return ErrDestIsNotPointer
}
sKey, err := helper.ConvertToString(key)
Expand Down

0 comments on commit 2a14515

Please sign in to comment.