Browse Source

feed the linter

Patrick Devine 7 months ago
parent
commit
b8af12ceaf
1 changed files with 4 additions and 2 deletions
  1. 4 2
      readline/errors.go

+ 4 - 2
readline/errors.go

@@ -4,8 +4,10 @@ import (
 	"errors"
 )
 
-var ErrInterrupt = errors.New("Interrupt")
-var ErrNewLineDetected = errors.New("new line detected")
+var (
+	ErrInterrupt       = errors.New("Interrupt")
+	ErrNewLineDetected = errors.New("new line detected")
+)
 
 type InterruptError struct {
 	Line []rune