From 52a0ebfd57154da103bd9932054487f55cd94893 Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Fri, 29 Apr 2016 16:01:37 +0500 Subject: [PATCH] Fmt fixes --- middleware.go | 2 +- raw_socket_listener/listener.go | 2 +- settings.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/middleware.go b/middleware.go index 38a549a6..3b40204e 100644 --- a/middleware.go +++ b/middleware.go @@ -86,7 +86,7 @@ func (m *Middleware) copy(to io.Writer, from io.Reader) { func (m *Middleware) read(from io.Reader) { reader := bufio.NewReader(from) - var line []byte + var line []byte var e error for { diff --git a/raw_socket_listener/listener.go b/raw_socket_listener/listener.go index 3f6683cc..e0b58f69 100644 --- a/raw_socket_listener/listener.go +++ b/raw_socket_listener/listener.go @@ -66,7 +66,7 @@ type Listener struct { } type request struct { - id string + id string start time.Time ack uint32 } diff --git a/settings.go b/settings.go index d308087e..5e1a6b19 100644 --- a/settings.go +++ b/settings.go @@ -41,7 +41,7 @@ type AppSettings struct { inputFile MultiOption outputFile MultiOption - inputRAW MultiOption + inputRAW MultiOption inputRAWEngine string middleware string