Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelbos committed Jul 16, 2017
1 parent a25a589 commit c0f4bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawk.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func GetAuth(c *gin.Context) *hawk.Auth {
return c.MustGet(AuthKey).(*hawk.Auth)
}

// GetHawk returns the user object (obtain with the GetCredentialFunc) from
// GetUser returns the user object (obtain with the GetCredentialFunc) from
// the context. Will panic if not set (i.e. when the filter fail or
// has not happend yet)
func GetUser(c *gin.Context) interface{} {
Expand Down

0 comments on commit c0f4bda

Please sign in to comment.