RFC3339TimeEncoder serializes a time.Time to an RFC3339-formatted string. If enc supports AppendTimeLayout(t time.Time,layout string), it's used instead of appending a pre-formatted string value.
(t time.Time, enc PrimitiveArrayEncoder)
| 147 | // If enc supports AppendTimeLayout(t time.Time,layout string), it's used |
| 148 | // instead of appending a pre-formatted string value. |
| 149 | func RFC3339TimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { |
| 150 | encodeTimeLayout(t, time.RFC3339, enc) |
| 151 | } |
| 152 | |
| 153 | // RFC3339NanoTimeEncoder serializes a time.Time to an RFC3339-formatted string |
| 154 | // with nanosecond precision. |
nothing calls this directly
no test coverage detected