ToLower all of the input hashes so we can match them easily
()
| 190 | |
| 191 | // ToLower all of the input hashes so we can match them easily |
| 192 | func formatHashInput() []string { |
| 193 | h := []string{} |
| 194 | for _, x := range Hash { |
| 195 | h = append(h, strings.ToLower(x)) |
| 196 | } |
| 197 | return h |
| 198 | } |
| 199 | |
| 200 | // Check if a hash was supplied to the input so we know if we should calculate it |
| 201 | func hasHash(hash string) bool { |