You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the call to func (e *Event) Write(p []byte) (int, error) { should not convert to a string; it should just do what WriteRaw does, and then remove WriteRaw. Having it actually convert to a string and do all the checks is not the expected behaviour (the caller has WriteString for that purpose).
The text was updated successfully, but these errors were encountered:
I think the call to
func (e *Event) Write(p []byte) (int, error) {
should not convert to a string; it should just do whatWriteRaw
does, and then removeWriteRaw
. Having it actually convert to a string and do all the checks is not the expected behaviour (the caller hasWriteString
for that purpose).The text was updated successfully, but these errors were encountered: