mirror of https://github.com/gin-gonic/gin.git
Fixed README.md typo (#1104)
* Fixed README.md typo * Fixed example typo * Fixed example typo
This commit is contained in:
parent
b1ee49de8c
commit
8c17c680d9
|
@ -1224,7 +1224,7 @@ func main() {
|
|||
if err := srv.Shutdown(ctx); err != nil {
|
||||
log.Fatal("Server Shutdown:", err)
|
||||
}
|
||||
log.Println("Server exist")
|
||||
log.Println("Server exiting")
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -41,5 +41,5 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
log.Println("Server exist")
|
||||
log.Println("Server exiting")
|
||||
}
|
||||
|
|
|
@ -44,5 +44,5 @@ func main() {
|
|||
if err := srv.Shutdown(ctx); err != nil {
|
||||
log.Fatal("Server Shutdown:", err)
|
||||
}
|
||||
log.Println("Server exist")
|
||||
log.Println("Server exiting")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue