Merge pull request #207 from achedeuzot/develop

Minor newline fix
This commit is contained in:
Javier Provecho Fernandez 2015-02-05 17:16:59 +01:00
commit 3fbac59e58
1 changed files with 2 additions and 2 deletions

4
gin.go
View File

@ -127,7 +127,7 @@ func (engine *Engine) ServeHTTP(writer http.ResponseWriter, request *http.Reques
}
func (engine *Engine) Run(addr string) error {
debugPrint("Listening and serving HTTP on %s", addr)
debugPrint("Listening and serving HTTP on %s\n", addr)
if err := http.ListenAndServe(addr, engine); err != nil {
return err
}
@ -135,7 +135,7 @@ func (engine *Engine) Run(addr string) error {
}
func (engine *Engine) RunTLS(addr string, cert string, key string) error {
debugPrint("Listening and serving HTTPS on %s", addr)
debugPrint("Listening and serving HTTPS on %s\n", addr)
if err := http.ListenAndServeTLS(addr, cert, key, engine); err != nil {
return err
}