(priority string)
| 96 | } |
| 97 | |
| 98 | func parsePriority(priority string) int { |
| 99 | if len(priority) > 0 { |
| 100 | if p, err := strconv.Atoi(priority); err == nil { |
| 101 | return p |
| 102 | } |
| 103 | } |
| 104 | return 0 |
| 105 | } |
| 106 | |
| 107 | func parseImageContentType(data []byte) string { |
| 108 | if len(data) > 12 { |
no outgoing calls
no test coverage detected