Package list golang-github-dcso-fluxline / 1c6f5a3
fix comment Sascha Steinbiss authored 3 years ago GitHub committed 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
160160 return a
161161 }
162162
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
165165 func NewEncoderWithHostname(w io.Writer, host string) *Encoder {
166166 a := &Encoder{
167167 host: host,