etcd: go.etcd.io/etcd/pkg/stringutil Index | Files

package stringutil

import "go.etcd.io/etcd/pkg/stringutil"

Package stringutil exports string utility functions.

Index

Package Files

doc.go rand.go

func RandomStrings Uses

func RandomStrings(slen uint, n int) (ss []string)

RandomStrings returns a slice of randomly generated strings.

func UniqueStrings Uses

func UniqueStrings(slen uint, n int) (ss []string)

UniqueStrings returns a slice of randomly generated unique strings.

Package stringutil imports 2 packages (graph) and is imported by 2 packages. Updated 2018-08-29. Refresh now. Tools for package owners.