etcd: github.com/coreos/etcd/pkg/stringutil Index | Files

package stringutil

import "github.com/coreos/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 4 packages. Updated 2018-04-09. Refresh now. Tools for package owners.