Registry / utility / intern

intern

JSON →
library0.0.0-20230525184215-6c62f75575cbgogounverified

Package intern lets you make smaller comparable values by boxing a larger comparable value into a globally unique 8 byte pointer.

go get go4.org/intern
INSTALL
IMPORT
SIG · INTERN
I
intern
utilitygov0.0.0-20230525184215-6c62f75575cb
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.

intern
go4.org/intern

Intern a string value

import "go4.org/intern" func main() { val := intern.New("hello") _ = val.Get() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230525184215-6c62f75575cblatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
intern — go get intern · libregistry