I am super excited for this release. I think varargs min/max() built-ins are my favorite feature. Closely followed by clear() and improved type-param inference
this post was submitted on 21 Jun 2023
6 points (100.0% liked)
Golang
2258 readers
2 users here now
This is a community dedicated to the go programming language.
Useful Links:
Rules:
- Posts must be relevant to Go
- No NSFW content
- No hate speech, bigotry, etc
- Try to keep discussions on topic
- No spam of tools/companies/advertisements
- It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
founded 2 years ago
MODERATORS
Curious to know if slog
will finally allow the community to settle on a standard logger. I've been using logr.Logr interface for a long time now with zap as the backend. Will be nice to at least replace zap with the slog as the underlying logging mechanism to remove at least one dependency.
That was a good write up of the loop var issue, I had run into that only once and figured it was just a part of the learning curve I hadn’t hit yet. Glad to see it’s an area everyone agreed could improve!