This commit is contained in:
Darien Raymond
2017-04-14 21:38:07 +02:00
parent 94e01672d7
commit 0ef9143ffd
+2 -2
View File
@@ -19,9 +19,9 @@ var (
type State int32
func (v State) Is(states ...State) bool {
func (s State) Is(states ...State) bool {
for _, state := range states {
if v == state {
if s == state {
return true
}
}