body?
Under the An Improved Handler section:
https://www.alexedwards.net/blog/how-to-properly-parse-a-json-request-body
It makes sense but it's disappointing the std lib doesn't make it easier. Especially the string matching for errors
Стикер
Стикер
I guess the main issue is the string matching for errors. And I think this pattern should be documented on go.dev and not some guy's blog
Обсуждают сегодня