go-attr
Golang library to act on structure fields at runtime. Similar to Python getattr(), setattr(), hasattr() APIs. (by ssrathi)
xreflect
A simple and user-friendly reflection utility library. (by morrisxyang)
go-attr | xreflect | |
---|---|---|
1 | 1 | |
29 | 42 | |
- | - | |
4.9 | 8.1 | |
over 3 years ago | 7 months ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" 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-attr
Posts with mentions or reviews of go-attr.
We have used some of these posts to build our list of alternatives
and similar projects.
xreflect
Posts with mentions or reviews of xreflect.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Go: A simple and easy-to-use reflection utility library that supports setting nested struct fields, function invocation, etc.
GitHub Repository: https://github.com/morrisxyang/xreflect
What are some alternatives?
When comparing go-attr and xreflect you can also consider the following projects:
valast - Convert Go values to their AST
enum - Type safe enums for Go without code generation or reflection
configuration - Library for setting values to structs' fields from env, flags, files or default tag
reflectutils - Golang utility functions for working with reflection
statsviz - 🚀 Visualise your Go program runtime metrics in real time in the browser
wazero - wazero: the zero dependency WebAssembly runtime for Go developers