EncoderOption represents an option for creating a new encoder.
func(*Encoder)
| 53 | |
| 54 | // EncoderOption represents an option for creating a new encoder. |
| 55 | type EncoderOption func(*Encoder) |
| 56 | |
| 57 | // EncoderColors sets the colors for highlighting keys, values and comments. |
| 58 | func EncoderColors(c *Colors) EncoderOption { |
nothing calls this directly
no outgoing calls
no test coverage detected