readline icon indicating copy to clipboard operation
readline copied to clipboard

Fix suggested by go vet

Open hyangah opened this issue 5 years ago • 0 comments

Vet examines the source code and reports suspicious constructs including non-standard signatures for widely-used names such as WriteTo and ReadRune.

$ go vet github.com/chzyer/readline remote.go:276: method WriteTo(w io.Writer) (int, error) should have signature WriteTo(io.Writer) (int64, error) terminal.go:99: method ReadRune() rune should have signature ReadRune() (rune, int, error)

This commit introduces exported method changes.

hyangah avatar Sep 10 '18 22:09 hyangah