
ADD: * `iox` subpackage FIX: * `logging` now has a way to return logWritier directly * added significant `io.*` interface compat to logWriter -- allowing a `logging.Logger` to essentially be used for a large amount of io interaction in other libraries.
9 lines
183 B
Go
9 lines
183 B
Go
package iox
|
|
|
|
type (
|
|
// RuneWriter matches the behavior of *(bytes.Buffer).WriteRune and *(bufio.Writer).WriteRune
|
|
RuneWriter interface {
|
|
WriteRune(r rune) (n int, err error)
|
|
}
|
|
)
|