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
|
|
@ -15,12 +15,6 @@ import (
|
|||
"github.com/dhax/go-base/models"
|
||||
)
|
||||
|
||||
type ctxKey int
|
||||
|
||||
const (
|
||||
ctxAccount ctxKey = iota
|
||||
)
|
||||
|
||||
// AccountStore defines database operations for account.
|
||||
type AccountStore interface {
|
||||
Get(id int) (*auth.Account, error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue