preftest

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 FakePreferenceService

type FakePreferenceService struct {
	ExpectedPreference *pref.Preference
	ExpectedError      error
}

func NewPreferenceServiceFake

func NewPreferenceServiceFake() *FakePreferenceService

func (*FakePreferenceService) DeleteByUser

func (f *FakePreferenceService) DeleteByUser(context.Context, int64) error

func (*FakePreferenceService) Get

func (*FakePreferenceService) GetDefaults

func (f *FakePreferenceService) GetDefaults() *pref.Preference

func (*FakePreferenceService) GetWithDefaults

func (*FakePreferenceService) Patch

func (*FakePreferenceService) Save

Jump to

Keyboard shortcuts

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