preftest

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 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