Dev.to
techCenter
Catch Bad Validation Tags at Compile Time with checkerlinttranslating…
Struct tags are just strings — a typo'd checker name, a wrong-typed field, or a renamed cross-field target all compile fine and fail silently at runtime. checkerlint catches all three before you ship.
Struct tags are string literals. The Go compiler checks that your struct…
Keywords#Tags#Compile#struct#Bad#Bad Validation
Comments
Sign in to join the discussion.
Loading comments…