(arg interface{}, t *time.Time, loc *time.Location)
| 130 | } |
| 131 | |
| 132 | func parseRFCnz(arg interface{}, t *time.Time, loc *time.Location) bool { |
| 133 | if s, ok := arg.(string); ok { |
| 134 | tt, err := time.ParseInLocation(rfc3339nz, s, loc) |
| 135 | if err == nil { |
| 136 | *t = tt |
| 137 | return true |
| 138 | } |
| 139 | } |
| 140 | return false |
| 141 | } |
| 142 | |
| 143 | func parseLocation(arg interface{}, loc **time.Location) bool { |
| 144 | if s, ok := arg.(string); ok { |
no outgoing calls
no test coverage detected
searching dependent graphs…