getLimit gets the take as a string
(value string)
| 55 | |
| 56 | // getLimit gets the take as a string |
| 57 | func (input *MessageIndex) sanitizeAddress(value string) string { |
| 58 | value = strings.TrimRight(value, " ") |
| 59 | if len(value) > 0 && value[0] == ' ' { |
| 60 | value = strings.Replace(value, " ", "+", 1) |
| 61 | } |
| 62 | return value |
| 63 | } |
| 64 | |
| 65 | // getLimit gets the take as a string |
| 66 | func (input *MessageIndex) getInt(value string) int { |