Merge pull request #109 from ssb-ngi-pointer/integrate-stringer
integrate stringer dependency
This commit is contained in:
commit
a67063ac32
7
internal/devtools/stringer.go
Normal file
7
internal/devtools/stringer.go
Normal file
@ -0,0 +1,7 @@
|
||||
// +build tools
|
||||
|
||||
package devtools
|
||||
|
||||
import (
|
||||
_ "golang.org/x/tools/cmd/stringer"
|
||||
)
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user