mock

package
v0.0.0-...-24b4de3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: GPL-2.0-only Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generate

type Generate struct {
	UUID string
	Err  error
}

Generate structure used to adjust return values of Generate mock

type UUIDer

type UUIDer struct {
	GenerateMock Generate
}

UUIDer structure implements UUIDer interface

func (*UUIDer) Generate

func (mock *UUIDer) Generate() (string, error)

Generate mock return mock adjusted values

Jump to

Keyboard shortcuts

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