161type GCTConsoleWriter struct{}
162
163// Write implements the Writer interface.
164func (c GCTConsoleWriter) Write(p []byte) (n int, err error) {165 var l *zerolog.Event
166
167 // look at the first byte of the data, it will be the header
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}