Registry / utility / oleiade-reflections-v1

oleiade-reflections-v1

JSON →
library1.0.0gogounverified

Package reflections provides high level abstractions above the reflect library.

go get gopkg.in/oleiade/reflections.v1
INSTALL
IMPORT
SIG · OLEIADE-REFLECTION
O
oleiade-reflections-v1
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reflections
gopkg.in/oleiade/reflections.v1

Get a field value using reflection

package main import ( "fmt" "gopkg.in/oleiade/reflections.v1" ) func main() { type S struct { Name string } s := S{Name: "test"} val, _ := reflections.GetField(s, "Name") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
oleiade-reflections-v1 — go get oleiade-reflections-v1 · libregistry