startest

package
v0.0.0-testrgm3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: AGPL-3.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 FakeStarService

type FakeStarService struct {
	ExpectedStars     *star.Star
	ExpectedError     error
	ExpectedUserStars *star.GetUserStarsResult
}

func NewStarServiceFake

func NewStarServiceFake() *FakeStarService

func (*FakeStarService) Add

func (*FakeStarService) Delete

func (*FakeStarService) DeleteByUser

func (f *FakeStarService) DeleteByUser(ctx context.Context, userID int64) error

func (*FakeStarService) GetByUser

func (*FakeStarService) IsStarredByUser

func (f *FakeStarService) IsStarredByUser(ctx context.Context, query *star.IsStarredByUserQuery) (bool, error)

Jump to

Keyboard shortcuts

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