fakes

package
v0.0.0-...-eb548cc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFlavorService

type FakeFlavorService struct {
	FindCalled bool
	FindFound  bool
	FindFlavor flavor.Flavor
	FindErr    error

	FindByNameCalled bool
	FindByNameFound  bool
	FindByNameFlavor flavor.Flavor
	FindByNameErr    error
}

func (*FakeFlavorService) Find

func (f *FakeFlavorService) Find(id string) (flavor.Flavor, bool, error)

func (*FakeFlavorService) FindByName

func (f *FakeFlavorService) FindByName(name string) (flavor.Flavor, bool, error)

Jump to

Keyboard shortcuts

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