String returns a string representation of the Time.
()
| 113 | |
| 114 | // String returns a string representation of the Time. |
| 115 | func (t Time) String() string { |
| 116 | return strconv.FormatFloat(float64(t)/float64(second), 'f', -1, 64) |
| 117 | } |
| 118 | |
| 119 | // MarshalJSON implements the json.Marshaler interface. |
| 120 | func (t Time) MarshalJSON() ([]byte, error) { |