Consumes any number of spaces.
()
| 146 | |
| 147 | // Consumes any number of spaces. |
| 148 | func (l *intervalLexer) consumeSpaces() { |
| 149 | if l.err != nil { |
| 150 | return |
| 151 | } |
| 152 | for ; l.offset < len(l.str) && l.str[l.offset] == ' '; l.offset++ { |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | // ISO Units. |
| 157 | var isoDateUnitMap = map[string]duration.Duration{ |
no outgoing calls
no test coverage detected