preset

package
v0.0.0-...-f70f46d Latest Latest
Warning

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

Go to latest
Published: May 3, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package preset provides access to existing presets

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Preseter

type Preseter interface {
	Preset(string) gnomock.Preset
}

Preseter is a type that creates Gnomock Presets given their name

func Registry

func Registry() Preseter

Registry returns a default, inline Preseter. Its entire implementation is hard-coded: every new Preset must be added to the implementation and compiled again

Jump to

Keyboard shortcuts

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