3 ms·
Yeah, that's another good approach but not the most beginner friendly. A large portion of the Go community uses/abuses struct tags so knowing about them and se
by Xeoncross 4y ago
Yeah, that's another good approach but not the most beginner friendly.
A large portion of the Go community uses/abuses struct tags so knowing about them and seeing a system designed around them is important even if you won't use gongular because you're using ent or goa.
echo, buffalo, gin, etc... all use object struct tags for input data binding and there are two large validation packages that focus on this use.
- morelisp 4y agoMy point is, "struct tags for validation", despite being depressingly common, is definitely something more for "the Go version of Laravel, Spring, or Rails." I would not highlight anything built that way for developers looking for Go's interesting ideas.