Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2018 v0.0.0 Sep 17, 2018 Changes in this version + var RemoveFunc = os.RemoveAll + func CheckedClose(c io.Closer, err error) error + func CleanUp(dir string, err error) error + func Concat(slices [][]byte) []byte + func ConcatErrChan(errChan <-chan error, expected int) error + func FilePathSansExt(path string) string + func FilePathTrailingJoin(s ...string) string + func NewNoNewlineWriter(w io.Writer) io.Writer + func PathTrailingJoin(s ...string) string + func StripTrace(e error) error + func Uint64ToPosInt(i uint64) (o int, err error) + type ConstReader byte + func (r ConstReader) Read(b []byte) (int, error) + type CounterWriter struct + Count int + func (cw *CounterWriter) Write(p []byte) (n int, err error) + type Error struct + HasStack bool + func NewError(errtext string, hasStack bool) Error + func WrapError(err error, hasStack bool) Error + func (e Error) Error() string + type Errors []error + func (es Errors) Error() string + type ResetReader struct + func NewResetReader(r io.Reader, f func()) *ResetReader + func (trr *ResetReader) Read(p []byte) (n int, err error)