Skip to content

Commit 202f8fc

Browse files
DeathKingthinkerou
authored andcommitted
Fix a typo syscanll.SIGTERM -> syscall.SIGTERM (gin-gonic#1868)
1 parent 11407e7 commit 202f8fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,9 +1696,9 @@ func main() {
16961696
// Wait for interrupt signal to gracefully shutdown the server with
16971697
// a timeout of 5 seconds.
16981698
quit := make(chan os.Signal)
1699-
// kill (no param) default send syscanll.SIGTERM
1699+
// kill (no param) default send syscall.SIGTERM
17001700
// kill -2 is syscall.SIGINT
1701-
// kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it
1701+
// kill -9 is syscall.SIGKILL but can"t be catch, so don't need add it
17021702
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
17031703
<-quit
17041704
log.Println("Shutdown Server ...")

0 commit comments

Comments
 (0)