github.com/mitchellh/caststructure
Package caststructure can downcast a value to a subset of the interfaces that it implements. This is useful in situations where the set of interfaces you want a type to implement is dynamic. In cases where the set is small or fixed, it is likely a better idea to define a new type instead.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 6 years ago
v0.0.0-20200501042311-813ac3aa578a
almost 6 years ago
Versions
1
1
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/mitchellh/caststructure
spec |
| License | MIT |
| Namespace | github.com/mitchellh |
| First Release | almost 6 years ago |
| Last Synced | 6 days ago |
Repository
| Stars | 33 on GitHub |
| Forks | 1 on GitHub |
Rankings on proxy.golang.org
Overall
Top 8.2%