Skip to content

Commit

Permalink
Merge pull request #2 from DavidsonGomes/main
Browse files Browse the repository at this point in the history
Instanciando Mutex
  • Loading branch information
jrCleber authored Jun 10, 2024
2 parents a740306 + 05f9db0 commit 4f64fdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require github.com/go-chi/render v1.0.3

require (
github.com/ajg/form v1.5.1 // indirect
github.com/go-chi/chi/v5 v5.0.12 // indirect
github.com/go-chi/chi/v5 v5.0.12
github.com/joho/godotenv v1.5.1
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sirupsen/logrus v1.9.3
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
)
1 change: 1 addition & 0 deletions internal/session/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type Service struct {

func New() *Service {
logger := logrus.New()
mutex = &sync.Mutex{}
return &Service{
logger: logger.WithField("desc", "session.Service"),
}
Expand Down

0 comments on commit 4f64fdf

Please sign in to comment.