snum

package module
v0.0.0-...-d8872c8 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 6 Imported by: 0

README

snum

Number Range Management

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToTable

func ToTable(output io.Writer)

Types

type INumberRange

type INumberRange interface {
	CreateInterval(name string, numberFrom uint32, numberTo uint32, isRolling bool) (INumberRangeInterval, error)
	GetInterval(name string) (INumberRangeInterval, error)
	GetIntervals() []INumberRangeInterval
	GetName() string
}

func CreateNumberRange

func CreateNumberRange(name string) (INumberRange, error)

func GetNumberRange

func GetNumberRange(name string) (INumberRange, error)

type INumberRangeInterval

type INumberRangeInterval interface {
	GetNext() (uint32, error)
	GetName() string
}

Jump to

Keyboard shortcuts

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