mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-02 19:19:14 +02:00
update for golint
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user