Skip to content

Commit 0f3cc33

Browse files
authored
Merge pull request #30 from vrecan/lint
fix linting
2 parents e71c415 + 04b0af9 commit 0f3cc33

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

death.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ package death
33
//Manage the death of your application.
44

55
import (
6-
LOG "github.com/cihub/seelog"
76
"io"
87
"os"
98
"os/signal"
109
"reflect"
1110
"sync"
1211
"time"
12+
13+
LOG "github.com/cihub/seelog"
1314
)
1415

1516
//Death manages the death of your application.
@@ -53,12 +54,12 @@ func NewDeath(signals ...os.Signal) (death *Death) {
5354
return death
5455
}
5556

56-
//Override the time death is willing to wait for a objects to be closed.
57+
//SetTimeout Overrides the time death is willing to wait for a objects to be closed.
5758
func (d *Death) SetTimeout(t time.Duration) {
5859
d.timeout = t
5960
}
6061

61-
//setLogger Override the default logger (seelog)
62+
//SetLogger Overrides the default logger (seelog)
6263
func (d *Death) SetLogger(l Logger) {
6364
d.log = l
6465
}

0 commit comments

Comments
 (0)