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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow go-tagexpr

go-tagexpr Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-tagexpr!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-02-03