func port() int {
	if port := os.Getenv("PORT"); port != "" {
		port, _ := strconv.Atoi(port)
		return port
	}
	return DefaultPort
}
// Get the port from environment variable $PORT, or use default if the variable is not set
Get the port from environment variable $PORT, or use default if the variable is not set
// Get the port from environment variable $PORT or use default if the variable is not set
func port() int {
	if port := os.Getenv("PORT"); port != "" {
		port, _ := strconv.Atoi(port)
		return port
	}
	return DefaultPort
}
func port ( ) int { if port := os . Getenv ( " " ) ; port != " " { port , _ := strconv . Atoi ( port ) return port } return DefaultPort }
Get the port from environment variable $PORT, or use default if the variable is not set
Get the port from environment variable $PORT or use default if the variable is not set