Explorar o código

osutil: fix InterruptHandler comment position

Mateus Braga %!s(int64=11) %!d(string=hai) anos
pai
achega
cec8466ad2
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  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 (