summaryrefslogtreecommitdiff
path: root/cmd/tunneld/main.go
diff options
context:
space:
mode:
authorMikhail Osipov <mike.osipov@gmail.com>2020-02-23 16:07:22 +0300
committerMikhail Osipov <mike.osipov@gmail.com>2020-02-23 16:07:22 +0300
commitd3e48b2676c70ef20c33d70220c4a4b22f3a0e5b (patch)
tree76abee3f20891c4e1ef2077193e3d2389075ddeb /cmd/tunneld/main.go
parent7f71e4fc69e2b27d8ff6375cc6f4be2092721186 (diff)
make fmt
Diffstat (limited to 'cmd/tunneld/main.go')
-rw-r--r--cmd/tunneld/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/tunneld/main.go b/cmd/tunneld/main.go
index 8bd4460..f713dea 100644
--- a/cmd/tunneld/main.go
+++ b/cmd/tunneld/main.go
@@ -1,11 +1,11 @@
package main
import (
- "tunnel/pkg/server"
- "os/signal"
- "syscall"
"log"
"os"
+ "os/signal"
+ "syscall"
+ "tunnel/pkg/server"
)
func main() {
@@ -18,7 +18,7 @@ func main() {
log.Fatal(err)
}
- go func () {
+ go func() {
sig := <-c
log.Printf("killed by signal: %s", sig)