Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ISO8601TimeEncoder ¶
func ISO8601TimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)
ISO8601TimeEncoder serializes a time.Time to an ISO8601-formatted string with millisecond precision. Same as t.Format("2006-01-02T15:04:05.000Z").
It optimized at byte slice level, faster than time.Format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.