Registry / utility / matoous-go-nanoid

matoous-go-nanoid

JSON →
library1.5.1gogounverified

Package nanoid generates unique, URL-safe identifiers similar to NanoID.

go get github.com/matoous/go-nanoid
INSTALL
IMPORT
SIG · MATOOUS-GO-NANOID
M
matoous-go-nanoid
utilitygov1.5.1
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.

nanoid
github.com/matoous/go-nanoid

Generates a new NanoID.

package main import ( "fmt" "github.com/matoous/go-nanoid" ) func main() { id, err := nanoid.New() if err != nil { fmt.Println(err) } fmt.Println(id) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
matoous-go-nanoid — go get matoous-go-nanoid · libregistry