cosmetic: move Interaction from types.go to utils.go
This commit is contained in:
1 parent
44c8533632
commit
cdf8e906d1
2 files changed
+5
-5
No files matched your search
@@ -1,6 +1 @@
|
||||
package router
|
||||
|
||||
type Interaction struct {
|
||||
code int
|
||||
resultChan chan<- interface{}
|
||||
}
|
||||
@@ -7,6 +7,11 @@ import (
|
||||
"net"
|
||||
)
|
||||
|
||||
type Interaction struct {
|
||||
code int
|
||||
resultChan chan<- interface{}
|
||||
}
|
||||
|
||||
func checkFatal(e error) {
|
||||
if e != nil {
|
||||
log.Fatal(e)
|
||||
|
||||
Reference in new issue
Block a user