Sfoglia il codice sorgente

Display startup message for Gin (Go) (#8062)

* Update main.go

* Update main.go
Sébastien Ros 2 anni fa
parent
commit
608fd4c118
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      frameworks/Go/gin/gin-std/main.go

+ 1 - 1
frameworks/Go/gin/gin-std/main.go

@@ -153,7 +153,7 @@ func main() {
 	r.GET("/fortunes", fortunes)
 	r.GET("/fortunes", fortunes)
 	r.GET("/update", update)
 	r.GET("/update", update)
 	r.GET("/plaintext", plaintext)
 	r.GET("/plaintext", plaintext)
-	log.Print("Listening and serving HTTP\n")
+	fmt.Println("Listening and serving HTTP")
 	r.Run(":8080")
 	r.Run(":8080")
 }
 }