![]() Use the existing `.Close()` method instead of implementing the same logic in this function. The defer sets `cios` to `nil` if an error occurred to preserve the existing behavior. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
io_test.go | ||
io_unix_test.go | ||
io_unix.go | ||
io_windows_test.go | ||
io_windows.go | ||
io.go |