GoDoc and some typos...

This commit is contained in:
dhax 2017-10-22 21:56:36 +02:00
parent 9f37579562
commit 543b39f822
15 changed files with 37 additions and 19 deletions

View file

@ -22,7 +22,7 @@ type AccountStore interface {
DeleteToken(*auth.Token) error
}
// AccountResource implements account managment handler.
// AccountResource implements account management handler.
type AccountResource struct {
Store AccountStore
}
@ -64,7 +64,7 @@ func (rs *AccountResource) accountCtx(next http.Handler) http.Handler {
type accountRequest struct {
*auth.Account
// override protected data here, although not really neccessary here
// override protected data here, although not really necessary here
// as we limit updated database columns in store as well
ProtectedID int `json:"id"`
ProtectedActive bool `json:"active"`