master
package system import "strings" type Service interface { Service() string Exists() (bool, error) Enabled() (bool, error) Running() (bool, error) } func invalidService(s string) bool { if strings.ContainsRune(s, '/') { return true } return false }