mocks

package
v0.0.0-...-23016c8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseServiceMock

type DatabaseServiceMock struct {
	mock.Mock
}

func (*DatabaseServiceMock) AddNote

func (m *DatabaseServiceMock) AddNote(id, username, text string) error

func (*DatabaseServiceMock) AddUser

func (m *DatabaseServiceMock) AddUser(username, pwd string) error

func (*DatabaseServiceMock) GetUser

func (m *DatabaseServiceMock) GetUser(username string) (*db.User, error)

func (*DatabaseServiceMock) GetUserNotes

func (m *DatabaseServiceMock) GetUserNotes(username string) ([]db.Note, error)

Jump to

Keyboard shortcuts

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