Documentation ¶
Overview ¶
Package null extends ioutil.Discard and adds an io.WriteCloser and WriteNameCloser for use within u-root.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WriteClose io.WriteCloser = devNull(0)
WriteClose is an WriteCloser on which all Write and Close calls succeed without doing anything.
Functions ¶
This section is empty.
Types ¶
type WriteNameCloser ¶
WriteNameCloser is the interface that groups Write, Close, and Name methods.
var WriteNameClose WriteNameCloser = devNull(0)
WriteNameClose is an WriteNameCloser on which all Write and Close calls succeed without doing anything, and the Name call returns "null".
Click to show internal directories.
Click to hide internal directories.