From cdf8e906d13b9004f5d4f90dd9c46c8dfae22c07 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 20 Jan 2015 21:21:32 +0000 Subject: [PATCH] cosmetic: move Interaction from types.go to utils.go --- router/types.go | 5 ----- router/utils.go | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/router/types.go b/router/types.go index 52352c2d..7ef135b3 100644 --- a/router/types.go +++ b/router/types.go @@ -1,6 +1 @@ package router - -type Interaction struct { - code int - resultChan chan<- interface{} -} diff --git a/router/utils.go b/router/utils.go index c7f8059c..7f0a2b3b 100644 --- a/router/utils.go +++ b/router/utils.go @@ -7,6 +7,11 @@ import ( "net" ) +type Interaction struct { + code int + resultChan chan<- interface{} +} + func checkFatal(e error) { if e != nil { log.Fatal(e)