mixer

package
v1.2.2-sp3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MixForEach

func MixForEach(
	list [][]string,
	callback func(i ...string) error,
) error

Types

type Mixer

type Mixer struct {
	// contains filtered or unexported fields
}

func NewMixer

func NewMixer(lists ...[]string) (*Mixer, error)

func (*Mixer) Next

func (m *Mixer) Next() error

func (*Mixer) Size

func (m *Mixer) Size() uint64

func (*Mixer) Value

func (m *Mixer) Value() []string

type StringRing

type StringRing struct {
	// contains filtered or unexported fields
}

func NewStringRing

func NewStringRing(l ...string) *StringRing

func (*StringRing) Len

func (r *StringRing) Len() int

func (*StringRing) Next

func (r *StringRing) Next()

func (*StringRing) Value

func (r *StringRing) Value() string

Jump to

Keyboard shortcuts

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