fake_app

package
v0.0.0-...-db1d7af Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2014 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 FakeRepo

type FakeRepo struct {
	FindByGuidInputs struct {
		Guid string
	}
	FindByGuidOutputs struct {
		Model app.Model
		Found bool
	}
	SaveInputs struct {
		Model app.Model
	}
	SaveOutputs struct {
		Err error
	}
}

func NewFakeRepo

func NewFakeRepo() *FakeRepo

func (*FakeRepo) FindByGuid

func (r *FakeRepo) FindByGuid(guid string) (m app.Model, found bool)

func (*FakeRepo) Save

func (r *FakeRepo) Save(m app.Model) (err error)

Jump to

Keyboard shortcuts

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