Registry / utility / aleksi-pointer

aleksi-pointer

JSON →
library1.2.0gogounverified

Provides helpers to convert between pointers and values of built-in and generic types.

go get github.com/AlekSi/pointer
INSTALL
IMPORT
SIG · ALEKSI-POINTER
A
aleksi-pointer
utilitygov1.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.

pointer
github.com/AlekSi/pointer

Creates a pointer to an integer value.

package main import ( "fmt" "github.com/AlekSi/pointer" ) func main() { p := pointer.To(42) fmt.Println(*p) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
24
Meta
1
OpenAI (training)
1
Resources
aleksi-pointer — go get aleksi-pointer · libregistry