Fixed README.md typo (#1104)

* Fixed README.md typo

* Fixed example typo

* Fixed example typo
This commit is contained in:
Kristoffer A. Iversen 2017-09-11 16:17:26 +02:00 committed by Bo-Yi Wu
parent b1ee49de8c
commit 8c17c680d9
3 changed files with 3 additions and 3 deletions

View File

@ -1224,7 +1224,7 @@ func main() {
if err := srv.Shutdown(ctx); err != nil { if err := srv.Shutdown(ctx); err != nil {
log.Fatal("Server Shutdown:", err) log.Fatal("Server Shutdown:", err)
} }
log.Println("Server exist") log.Println("Server exiting")
} }
``` ```

View File

@ -41,5 +41,5 @@ func main() {
} }
} }
log.Println("Server exist") log.Println("Server exiting")
} }

View File

@ -44,5 +44,5 @@ func main() {
if err := srv.Shutdown(ctx); err != nil { if err := srv.Shutdown(ctx); err != nil {
log.Fatal("Server Shutdown:", err) log.Fatal("Server Shutdown:", err)
} }
log.Println("Server exist") log.Println("Server exiting")
} }