Patrick Devine 7 mesi fa
parent
commit
b8af12ceaf
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  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