update for golint

This commit is contained in:
Cory Bennett
2016-08-21 00:45:07 -07:00
parent 6260e4964f
commit 92b5e38912
16 changed files with 1075 additions and 274 deletions
+3
View File
@@ -4,6 +4,9 @@ import (
"strings"
)
// Find will search the transitions for one that matches
// the given name. It will return a valid trantion that matches
// or nil
func (t Transitions) Find(name string) *Transition {
name = strings.ToLower(name)
for _, trans := range t {