Quellcode durchsuchen

osutil: fix InterruptHandler comment position

Mateus Braga vor 11 Jahren
Ursprung
Commit
cec8466ad2
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 2 3
      pkg/osutil/interrupt_unix.go

+ 2 - 3
pkg/osutil/interrupt_unix.go

@@ -14,9 +14,6 @@
 
 // +build !windows,!plan9
 
-// InterruptHandler is a function that is called on receiving a
-// SIGTERM or SIGINT signal.
-
 package osutil
 
 import (
@@ -27,6 +24,8 @@ import (
 	"syscall"
 )
 
+// InterruptHandler is a function that is called on receiving a
+// SIGTERM or SIGINT signal.
 type InterruptHandler func()
 
 var (