Correcting grammatical errors in README file

This commit is contained in:
Aravinth Sundaram 2021-09-25 14:25:58 +05:30 committed by GitHub
parent e052bf31aa
commit a5efdf9717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1827,7 +1827,7 @@ func main() {
quit := make(chan os.Signal) quit := make(chan os.Signal)
// kill (no param) default send syscall.SIGTERM // kill (no param) default send syscall.SIGTERM
// kill -2 is syscall.SIGINT // 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 caught, so don't need to add it
signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM) signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)
<-quit <-quit
log.Println("Shutting down server...") log.Println("Shutting down server...")