xstrings

package
v0.0.0-...-14c7dbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinSeq

func JoinSeq(elems iter.Seq[string], sep string) string

JoinSeq joins the elements of the given sequence with the given separator.

func Random

func Random(n int, charset []rune) string

Random returns a random string of the given length.

func WriteJoining

func WriteJoining(sb *strings.Builder, elems []string, sep string)

WriteJoining appends the elements of elems to the Builder, separated by sep.

func WriteJoiningSeq

func WriteJoiningSeq(sb *strings.Builder, elems iter.Seq[string], sep string)

WriteJoiningSeq appends the elements of elems to the Builder, separated by sep.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL