fake

package
v0.0.0-...-70b330c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 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 Service

type Service struct {
	*mock.Mock
}

Service is a fake tracks.Service implementation.

func NewService

func NewService() *Service

NewService initializes a fake tracks.Service implementation.

func (*Service) Create

func (s *Service) Create(input tracks.CreateTrackInput) (*tracks.Track, error)

Create mocks the Create method.

func (*Service) Delete

func (s *Service) Delete(name string) (*tracks.Track, error)

Delete mocks the Delete method.

func (*Service) Get

func (s *Service) Get(name string, worldID int, runID int) (*tracks.Track, error)

Get mocks the Get method.

func (*Service) GetAll

func (s *Service) GetAll() ([]tracks.Track, error)

GetAll mocks the GetAll method.

func (*Service) Update

func (s *Service) Update(name string, input tracks.UpdateTrackInput) (*tracks.Track, error)

Update mocks the Update method.

Jump to

Keyboard shortcuts

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