Registry / utility / thanhpk-randstr

thanhpk-randstr

JSON →
library1.0.6gogounverified

Package randstr provides basic functions for generating random bytes and strings.

go get github.com/thanhpk/randstr
INSTALL
IMPORT
SIG · THANHPK-RANDSTR
T
thanhpk-randstr
utilitygov1.0.6
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.

randstr
github.com/thanhpk/randstr

Generate a random string of length 10.

package main import ( "fmt" "github.com/thanhpk/randstr" ) func main() { fmt.Println(randstr.String(10)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
thanhpk-randstr — go get thanhpk-randstr · libregistry