1
0
Fork 0
forked from External/ergo

caps: Move most capability-handling types into the caps package

This commit is contained in:
Daniel Oaks 2017-09-29 17:25:58 +10:00
parent 85bfe3818b
commit 275449e6cc
10 changed files with 259 additions and 138 deletions

View file

@ -45,6 +45,7 @@ const (
UserhostInNames Capability = "userhost-in-names"
)
func (capability Capability) String() string {
// Name returns the name of the given capability.
func (capability Capability) Name() string {
return string(capability)
}