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
Go From AI Idea to AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of go-tagexpr!