follow golint suggestions
This commit is contained in:
@@ -534,8 +534,8 @@ func (l *FakeReader) WriteTo(w io.Writer) (n int64, err error) {
|
||||
|
||||
func Readln(r *bufio.Reader) ([]byte, error) {
|
||||
var (
|
||||
isPrefix bool = true
|
||||
err error = nil
|
||||
isPrefix = true
|
||||
err error
|
||||
line, ln []byte
|
||||
)
|
||||
for isPrefix && err == nil {
|
||||
|
||||
Reference in New Issue
Block a user