From 8ebcf70ba18cda2b1592de680a63695e60bc1c60 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 5 Jan 2023 17:08:47 +0100 Subject: [PATCH] main.go: minor style fixes. --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7d34d4c..1ad7e39 100644 --- a/main.go +++ b/main.go @@ -36,8 +36,10 @@ var ( ) // Reader states -const RS_CONNECT = 1 -const RS_READ = 2 +const ( + RS_CONNECT = 1 + RS_READ = 2 +) func readerLoop() { state := RS_CONNECT