go-tagexpr
An interesting go struct tag expression syntax for field validation, etc. (by bytedance)
expr
Expression language and expression evaluation for Go (by expr-lang)
Our great sponsors
go-tagexpr | expr | |
---|---|---|
3 | 5 | |
1,622 | 5,565 | |
1.5% | 5.1% | |
5.6 | 9.4 | |
about 1 month ago | 1 day ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-tagexpr
Posts with mentions or reviews of go-tagexpr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
-
Web Development JWT Practices
Hertz uses the open-source library go-tagexpr for parameter binding and validation, which the current demo uses for user registration and login.
-
High Performance Web Framework Tasting-Database Operations
You may refer to here for more information about parameter validation syntax.
The go-tagexpr open source library is used for parameter binding and validation of the Field annotation, as shown in the following example for CreateUserRequest:
expr
Posts with mentions or reviews of expr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-25.
- Expr 1.16.5
- Expr 1.16
- Expr Release v1.15.8
-
SQL as API
You're basically creating an expression language: https://github.com/expr-lang/expr
- Expr moved to expr-lang/expr
What are some alternatives?
When comparing go-tagexpr and expr you can also consider the following projects:
userdemo - A simple demo using Hertz.
govaluate - Arbitrary expression evaluation for golang
gzip - gzip for hertz
cel-go - Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
hertz-examples - Examples for Hertz.
grule-rule-engine - Rule engine implementation in Golang
vk-gen - Code generation to create a Go binding for the Vulkan graphics API.
go-exprtk - Go Mathematical Expression Toolkit. Run-time mathematical expression parser and evaluation engine.
jwt - JWT middleware for Hertz
gval - Expression evaluation in golang
GORM - The fantastic ORM library for Golang, aims to be developer friendly
tengo - A fast script language for Go