Registry / utility / mwielbut-pointy

mwielbut-pointy

JSON →
library1.3.0gogounverified

A set of simple helper functions to provide a shorthand to get a pointer to a variable holding a constant.

go get github.com/mwielbut/pointy
INSTALL
IMPORT
SIG · MWIELBUT-POINTY
M
mwielbut-pointy
utilitygov1.3.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.

pointy
github.com/mwielbut/pointy

Creates a pointer to an integer constant.

package main import ( "fmt" "github.com/mwielbut/pointy" ) func main() { p := pointy.Int(42) fmt.Println(*p) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
mwielbut-pointy — go get mwielbut-pointy · libregistry