fix comment
Sascha Steinbiss authored 4 years ago
GitHub committed 4 years ago
160 | 160 | return a |
161 | 161 | } |
162 | 162 | |
163 | // NewEncoder creates a new encoder that writes to the given io.Writer with | |
164 | // an overridden hostname | |
163 | // NewEncoderWithHostname creates a new encoder that writes to the given | |
164 | // io.Writer with an overridden hostname | |
165 | 165 | func NewEncoderWithHostname(w io.Writer, host string) *Encoder { |
166 | 166 | a := &Encoder{ |
167 | 167 | host: host, |