An interesting go struct tag expression syntax for field validation, etc. Support for a variety of common operators. Support for accessing arrays, slices, members of the dictionary. Support access to any field in the current structure. Support access to nested fields, non-exported fields, etc. Support registers function expression. Built-in len, sprintf, regexp functions. Support single mode and multiple mode to define the expression. Parameter check subpackage. Use offset pointers to directly take values, better performance. Required go version ≥1.9.
Features
- Support for a variety of common operator
- Support for accessing arrays, slices, members of the dictionary
- Support access to any field in the current structure
- Support access to nested fields, non-exported fields, etc.
- Built-in len, sprintf, regexp functions
- Parameter check subpackage
Categories
FrameworksLicense
Apache License V2.0Follow go-tagexpr
Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit
Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of go-tagexpr!