versions

package
v0.0.0-...-b3895e6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter interface {
	Get(string) (int, bool)
}

Getter is an interface for reading table versions

type GetterSetter

type GetterSetter interface {
	Getter
	Setter
}

GetterSetter is an interface for both reading and writing table versions

func New

func New(init map[string]int) GetterSetter

New returns a new GetterSetter versions map from a given map

type Setter

type Setter interface {
	Set(string, int)
}

Setter is an interface for writing table versions

Jump to

Keyboard shortcuts

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