testid

package
v0.0.0-...-d424132 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package testid contains functionality to generate identifiers in a deterministic way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

Generator is a generator of identifiers.

func (*Generator) NewID

func (g *Generator) NewID() string

NewID returns a new identifier that increments with every invocation, starting with "1".

Jump to

Keyboard shortcuts

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