Fixes to the graceful shutdown example (#2552)
Fixes to the graceful shutdown example (#2552)

* Change error comparison to use errors.Is() and add a line of whitespace before the if statement on graceful shutdown

* Change from log.Fatalf to log.Printf to ensure the graceful shutdown actually works

Co-authored-by: J. J. Bigorra <9e693739cff2b2832138408ffed32646c39b436f@prowarehouse.nl>
Co-authored-by: thinkerou <8cf465b1e021f8e7aaf1fa07c9cba681c67d044e@gmail.com>
thinkerou/gin,gin-gonic/gin