Registry / utility / openlyinc-pointy

openlyinc-pointy

JSON →
library1.3.0gogounverified

Package pointy is a set of simple helper functions to provide a shorthand to get a pointer to a variable holding a constant.

go get github.com/openlyinc/pointy
INSTALL
IMPORT
SIG · OPENLYINC-POINTY
O
openlyinc-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/openlyinc/pointy

Creates a pointer to an integer constant 42 and dereferences it.

package main import ( "fmt" "github.com/openlyinc/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
4 hits · last 30 days
node
4
Resources
openlyinc-pointy — go get openlyinc-pointy · libregistry