Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix suggested by go vet #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix suggested by go vet #154

wants to merge 1 commit into from

Conversation

hyangah
Copy link

@hyangah hyangah commented Sep 10, 2018

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant