(priority string)
| 122 | } |
| 123 | |
| 124 | func PriorityFromString(priority string) Priority { |
| 125 | if p, ok := priorityMapFromString[priority]; ok { |
| 126 | return p |
| 127 | } |
| 128 | return MEDIUM |
| 129 | } |
| 130 | |
| 131 | var orderFromString = map[string]Order{ |
| 132 | "index": INDEX, |
no outgoing calls
no test coverage detected