(s string)
| 500 | } |
| 501 | |
| 502 | func parseFloat(s string) float64 { |
| 503 | f, err := strconv.ParseFloat(s, 64) |
| 504 | if err != nil { |
| 505 | return 0 |
| 506 | } |
| 507 | return f |
| 508 | } |
| 509 | |
| 510 | func parseTime(s string) time.Time { |
| 511 | t, err := time.Parse(time.RFC3339, s) |
no outgoing calls
no test coverage detected