Registry / utility / gqcn-structs

gqcn-structs

JSON →
library1.1.1gogounverified

Package structs provides various utility functions for working with Go structs.

go get github.com/gqcn/structs
INSTALL
IMPORT
SIG · GQCN-STRUCTS
G
gqcn-structs
utilitygov1.1.1
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.

structs
github.com/gqcn/structs

Demonstrates using structs.Name to get the struct name.

package main import ( "fmt" "github.com/gqcn/structs" ) type Person struct { Name string Age int } func main() { p := Person{Name: "Alice", Age: 30} fmt.Println(structs.Name(p)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gqcn-structs — go get gqcn-structs · libregistry