func startServer() error {
	// PORT environment variable is provided by Cloud Run.
	port := os.Getenv("PORT")

	if port == "" {
		port = "8080"
	}

	log.Println("Starting web server on port", port)
	return http.ListenAndServe(":"+port, nil)
}
// startServer checks the correct port and starts the http server
startServer checks the correct port and starts the http server
// startServer checks the correct port and starts the http server
func startServer() error {
	port := os.Getenv("PORT")
	if port == "" {
		port = "8080"
	}
	log.Println("Starting web server on port", port)
	return http.ListenAndServe(":"+port, nil)
}
func startServer ( ) error { port := os . Getenv ( " " ) if port == " " { port = " " } log . Println ( " " , port ) return http . ListenAndServe ( " " + port , nil ) }
startServer checks the correct port and starts the http server
startServer checks the correct port and starts the http server
// PORT environment variable is provided by Cloud Run.