I have this:
port := os.Getenv("huru_api_port") || ":8000"
that doesn't compile, Golang doesn't recognize that as syntax for defaulting to ":8000" if huru_api_port is empty/undefined.
Is there a good way to do this? On a side note, why is it ":8000" instead of "8000", for example:
log.Fatal(http.ListenAndServe(":8000", router))