Skip to content

Conversation

@tamirazrab
Copy link

Related #9

Add logs only to main.go for feedback. Since I'm new to Go, I want to ensure I'm on the right track before moving forward.

@JasonLovesDoggo
Copy link
Owner

Yep, looks good! However, you should look into using a zap.Noop logger for tests!

@JasonLovesDoggo JasonLovesDoggo marked this pull request as draft March 5, 2025 15:45
@JasonLovesDoggo
Copy link
Owner

👋👋 any updates?

@tamirazrab
Copy link
Author

Yep, looks good! However, you should look into using a zap.Noop logger for tests!

maybe some util function that initializes and can accept logger type as param so on test files it could be zap.Noop

@JasonLovesDoggo
Copy link
Owner

Yep, looks good! However, you should look into using a zap.Noop logger for tests!

maybe some util function that initializes and can accept logger type as param so on test files it could be zap.Noop

👍 Try to share the same instance throughout the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants