EncoderColors sets the colors for highlighting keys, values and comments.
(c *Colors)
| 56 | |
| 57 | // EncoderColors sets the colors for highlighting keys, values and comments. |
| 58 | func EncoderColors(c *Colors) EncoderOption { |
| 59 | return func(e *Encoder) { e.Colors = c } |
| 60 | } |
| 61 | |
| 62 | // EncoderDateKeys sets a list of globs that define the keys whose values |
| 63 | // should be encoded as a date. Every key that matches any of the globs and |
no outgoing calls
no test coverage detected