mocks

package
v0.0.0-...-e1c34d2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) FetchAllClasses

func (_m *Repository) FetchAllClasses() ([]*class.Class, error)

FetchAllClasses provides a mock function with given fields:

func (*Repository) FetchAllSessions

func (_m *Repository) FetchAllSessions() ([]*class.Session, error)

FetchAllSessions provides a mock function with given fields:

func (*Repository) GetClass

func (_m *Repository) GetClass(classID string) (*class.Class, error)

GetClass provides a mock function with given fields: classID

func (*Repository) GetSession

func (_m *Repository) GetSession(sessionID int64) (*class.Session, error)

GetSession provides a mock function with given fields: sessionID

func (*Repository) StoreClass

func (_m *Repository) StoreClass(c *class.Class) error

StoreClass provides a mock function with given fields: c

Jump to

Keyboard shortcuts

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