fix syntax

This commit is contained in:
Cory Bennett
2019-09-30 23:08:40 -07:00
parent 050a2b4819
commit 94dd489a10
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// or nil
func (t Transitions) Find(name string) *Transition {
name = strings.ToLower(name)
matches := []Transitions{}
matches := Transitions{}
for _, trans := range t {
if strings.ToLower(trans.Name) == name {
return trans