Registry / utility / swaggest-refl

swaggest-refl

JSON →
library1.4.0gogounverified

Reflection helpers for Go.

go get github.com/swaggest/refl
INSTALL
IMPORT
SIG · SWAGGEST-REFL
S
swaggest-refl
utilitygov1.4.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.

refl
github.com/swaggest/refl

Access a struct field by path string

package main import ( "fmt" "github.com/swaggest/refl" ) func main() { type S struct{ A string } v := S{A: "hello"} val, _ := refl.ValueByPath(v, "A") fmt.Println(val.Interface()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
swaggest-refl — go get swaggest-refl · libregistry