Commit f5bdee10 authored by Janne Koschinski's avatar Janne Koschinski

Fixed formatting

parent ead87c84
......@@ -16,7 +16,7 @@ type UserInfo struct {
Roles []string
}
func (info *UserInfo) HasRole(role string) bool {
func (info UserInfo) HasRole(role string) bool {
for _, r := range info.Roles {
if r == role {
return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment