This fixes some brittle, simple equality checks to use errors.Is. Since go1.13, errors.Is is the idiomatic way to check for errors. Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com> |
||
|---|---|---|
| .. | ||
| buffer.go | ||
| errors.go | ||
| history.go | ||
| readline_unix.go | ||
| readline_windows.go | ||
| readline.go | ||
| term_bsd.go | ||
| term_linux.go | ||
| term_windows.go | ||
| term.go | ||
| types.go | ||