RFC3339NanoTimeEncoder serializes a time.Time to an RFC3339-formatted string with nanosecond precision. 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)
| 156 | // If enc supports AppendTimeLayout(t time.Time,layout string), it's used |
| 157 | // instead of appending a pre-formatted string value. |
| 158 | func RFC3339NanoTimeEncoder(t time.Time, enc PrimitiveArrayEncoder) { |
| 159 | encodeTimeLayout(t, time.RFC3339Nano, enc) |
| 160 | } |
| 161 | |
| 162 | // TimeEncoderOfLayout returns TimeEncoder which serializes a time.Time using |
| 163 | // given layout. |
nothing calls this directly
no test coverage detected