Go fmt alt exit addition
This commit is contained in:
@@ -57,4 +57,3 @@ os.Exit(code)
|
||||
func RegisterExitHandler(handler func()) {
|
||||
handlers = append(handlers, handler)
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -1,9 +1,9 @@
|
||||
package logrus
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os/exec"
|
||||
"testing"
|
||||
"io/ioutil"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -72,4 +72,3 @@ func main() {
|
||||
logrus.Fatal("Bye bye")
|
||||
}
|
||||
`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user