provider

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNum

func NewNum(limit int) core.Provider

NewNum returns dummy provider, that provides 0, 1 .. n int sequence as ammo. May be useful for test or in when Gun don't need ammo.

func NewNumConf

func NewNumConf(conf NumConfig) core.Provider

Types

type NumConfig

type NumConfig struct {
	Limit int
}

Jump to

Keyboard shortcuts

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