move context keys definition into main api file
This commit is contained in:
parent
605cf97298
commit
989f03040a
4 changed files with 12 additions and 12 deletions
|
|
@ -18,12 +18,6 @@ var (
|
|||
ErrAccountValidation = errors.New("account validation error")
|
||||
)
|
||||
|
||||
type ctxKey int
|
||||
|
||||
const (
|
||||
ctxAccount ctxKey = iota
|
||||
)
|
||||
|
||||
// AccountStore defines database operations for account management.
|
||||
type AccountStore interface {
|
||||
List(f auth.AccountFilter) (*[]auth.Account, int, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue