Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
EnsureDir ensures the given directory exists, creating it if necessary. Errors if the path already exists as a non-directory.
func FileExists ¶
Types ¶
type NoopCloser ¶ added in v1.0.0
type NoopCloser struct{}
NoopCloser is a no-op io.Closer.
func (NoopCloser) Close ¶ added in v1.0.0
func (NoopCloser) Close() error
Click to show internal directories.
Click to hide internal directories.