From b8af12ceaf3475fc01a32d0b99aeb58f74e1f075 Mon Sep 17 00:00:00 2001 From: Patrick Devine Date: Tue, 17 Sep 2024 18:19:31 -0700 Subject: [PATCH] feed the linter --- readline/errors.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readline/errors.go b/readline/errors.go index 7f894935..00c8c936 100644 --- a/readline/errors.go +++ b/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