// GetHostPort Gets the port the web app should be hosted on
GetHostPort Gets the port the web app should be hosted on
// GetHostPort Gets the port the web app should be hosted on
func GetHostPort() string {
	if "" != hostPort {
		return hostPort
	}
	hostPort = os.Getenv(HostPortEnvVar)
	if hostPort == "" {
		log.Println("$PORT not set. Defaulting to 3001")
		hostPort = DefaultPort
	}
	return hostPort
}
func GetHostPort ( ) string { if " " != hostPort { return hostPort } hostPort = os . Getenv ( HostPortEnvVar ) if hostPort == " " { log . Println ( " " ) hostPort = DefaultPort } return hostPort }
GetHostPort Gets the port the web app should be hosted on
GetHostPort Gets the port the web app should be hosted on