Registry / utility / giantswarm-to

giantswarm-to

JSON →
library0.4.2gogounverified

Provides functions to convert pointers to values and vice versa.

go get github.com/giantswarm/to
INSTALL
IMPORT
SIG · GIANTSWARM-TO
G
giantswarm-to
utilitygov0.4.2
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.

to
github.com/giantswarm/to

Convert a string to a pointer.

package main import ( "fmt" "github.com/giantswarm/to" ) func main() { str := "hello" ptr := to.StringP(str) fmt.Println(*ptr) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
giantswarm-to — go get giantswarm-to · libregistry