Back to / pkg / stringutil

Package stringutil

Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module:


Package stringutil exports string utility functions.


func RandomStrings

func RandomStrings(maxlen uint, n int) []string

RandomStrings returns a slice of randomly generated strings.

func UniqueStrings

func UniqueStrings(maxlen uint, n int) []string

UniqueStrings returns a slice of randomly generated unique strings.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier