(s string)
| 380 | } |
| 381 | |
| 382 | func ParseShellStart(s string) time.Time { |
| 383 | if s == "" { |
| 384 | return time.Time{} |
| 385 | } |
| 386 | unix, err := strconv.ParseInt(s, 10, 64) |
| 387 | if err != nil { |
| 388 | return time.Time{} |
| 389 | } |
| 390 | return time.Unix(unix, 0) |
| 391 | } |
no outgoing calls
no test coverage detected