diff --git a/README.md b/README.md index 0f6615b..1efd237 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ -[![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) diff --git a/go.mod b/go.mod index cef2a9d..bbd2223 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index f601d82..c000785 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/redis/template.go b/redis/template.go index 16e0ec1..703cbd1 100644 --- a/redis/template.go +++ b/redis/template.go @@ -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)