From 7719f0f3fd79362217087b734e20078924151339 Mon Sep 17 00:00:00 2001 From: Ryo Utsunomiya Date: Tue, 24 Sep 2019 16:31:11 +0900 Subject: [PATCH] fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3048517b..810885b5 100644 --- a/README.md +++ b/README.md @@ -1760,9 +1760,9 @@ func main() { // Wait for interrupt signal to gracefully shutdown the server with // a timeout of 5 seconds. quit := make(chan os.Signal, 1) - // kill (no param) default send syscanll.SIGTERM + // kill (no param) default send syscall.SIGTERM // kill -2 is syscall.SIGINT - // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it + // kill -9 is syscall. SIGKILL but can't be catch, so don't need add it signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) <-quit log.Println("Shutdown Server ...")