Merge pull request #109 from ssb-ngi-pointer/integrate-stringer

integrate stringer dependency
This commit is contained in:
Henry 2021-03-29 15:44:33 +02:00 committed by GitHub
commit a67063ac32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
// +build tools
package devtools
import (
_ "golang.org/x/tools/cmd/stringer"
)

View File

@ -34,7 +34,7 @@ type Member struct {
PubKey refs.FeedRef
}
//go:generate stringer -type=Role
//go:generate go run golang.org/x/tools/cmd/stringer -type=Role
// Role describes the authorization level of an internal user (or member).
// Valid roles are Member, Moderator or Admin.