proxy.golang.org : 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.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/mitchellh/caststructure
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/mitchellh
Stars: 32 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago