(ctx context.Context)
| 25 | } |
| 26 | |
| 27 | func (i *imlSettingStore) All(ctx context.Context) ([]*Setting, error) { |
| 28 | return i.Store.List(ctx, nil) |
| 29 | } |
| 30 | |
| 31 | func (i *imlSettingStore) Get(ctx context.Context, name string) (*Setting, error) { |
| 32 | return i.Store.First(ctx, map[string]interface{}{"name": name}) |