mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
* Chore: remove xorm from preference * separte feature toggle * fix comments * fix comments * remove the dublicated namedexec
16 lines
412 B
Go
16 lines
412 B
Go
package prefimpl
|
|
|
|
import (
|
|
"context"
|
|
|
|
pref "github.com/grafana/grafana/pkg/services/preference"
|
|
)
|
|
|
|
type store interface {
|
|
Get(context.Context, *pref.Preference) (*pref.Preference, error)
|
|
List(context.Context, *pref.Preference) ([]*pref.Preference, error)
|
|
Insert(context.Context, *pref.Preference) (int64, error)
|
|
Update(context.Context, *pref.Preference) error
|
|
DeleteByUser(context.Context, int64) error
|
|
}
|