Skip to content
Myr

Fixed README.md typo (#1104)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Fixed README.md typo * Fixed example typo * Fixed example typo

authored by Kristoffer A. Iversen · committed by Bo-Yi Wu · parent b1ee49d · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:examples/graceful-shutdown/close/server.go+1 added-1 removed
39 unmodified lines
40 log.Fatal("Server closed unexpect")41 }42 }4344 log.Println("Server exist")44 log.Println("Server exiting")45}
modified:examples/graceful-shutdown/graceful-shutdown/server.go+1 added-1 removed
42 unmodified lines
43 defer cancel()44 if err := srv.Shutdown(ctx); err != nil {45 log.Fatal("Server Shutdown:", err)46 }47 log.Println("Server exist")47 log.Println("Server exiting")48}
modified:README.md+1 added-1 removed
1222 unmodified lines
1223 defer cancel()1224 if err := srv.Shutdown(ctx); err != nil {1225 log.Fatal("Server Shutdown:", err)1226 }1227 log.Println("Server exist")1227 log.Println("Server exiting")1228}1229```12301231## Users [![Sourcegraph](https://sourcegraph.com/github.com/gin-gonic/gin/-/badge.svg)](https://sourcegraph.com/github.com/gin-gonic/gin?badge)
5 unmodified lines