Skip to content

Commit

Permalink
add missing comment (lint warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 29, 2019
1 parent eef5b5c commit 0cfd775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (a Level) MarshalText() ([]byte, error) {
}
}

// UnmarshalText parses authentication level from a string.
func (a *Level) UnmarshalText(b []byte) error {
switch string(b) {
case "":
Expand Down

0 comments on commit 0cfd775

Please sign in to comment.