ids

package
v0.107.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package ids provides id validation code used my multiple pipes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDs

type IDs map[string]int

IDs is the IDs type

func New

func New() IDs

New IDs

func (IDs) Inc

func (ids IDs) Inc(id string)

Inc increment the counter of the given id

func (IDs) Validate

func (ids IDs) Validate() error

Validate errors if there are any ids with counter > 1

Jump to

Keyboard shortcuts

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