You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// old methodlogger.Infof("user with id '%d' and name '%s' created", user.id, user.name)
// refactored methodlogger.Info("user created",slog.Int64("id",user.id), slog.String("name",user.name))
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We need to replace all deprecated methods to unify code style and clean logger implementation
Describe the solution you'd like to see
Remove staticcheck linter restriction and replace all methods
golangcilint
Use slog Attrs when refactoring methods
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: