Skip to content

Commit

Permalink
Instanciando Mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidsonGomes committed Jun 6, 2024
1 parent a740306 commit 05f9db0
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 05f9db0

Please sign in to comment.