Registry / utility / agrea-ptr

agrea-ptr

JSON →
library0.2.0gogounverified

A utility package providing helper functions to create pointers to primitive types in Go.

go get github.com/agrea/ptr
INSTALL
IMPORT
SIG · AGREA-PTR
A
agrea-ptr
utilitygov0.2.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.

ptr
github.com/agrea/ptr

Create a pointer to an integer

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
Meta
1
OpenAI (training)
1
Resources
agrea-ptr — go get agrea-ptr · libregistry