Registry / utility / containerssh-structutils

containerssh-structutils

JSON →
library1.1.0gogounverified

A Go library providing utility functions for working with structs, including field manipulation and reflection helpers.

go get github.com/containerssh/structutils
INSTALL
IMPORT
SIG · CONTAINERSSH-STRUC
C
containerssh-structutils
utilitygov1.1.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.

structutils
github.com/containerssh/structutils

Demonstrates using structutils to get a field value from a struct.

package main import ( "fmt" "github.com/containerssh/structutils" ) type Example struct { Name string } func main() { e := Example{Name: "test"} fmt.Println(structutils.GetField(e, "Name")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
containerssh-structutils — go get containerssh-structutils · libregistry