Apply gofmt
This commit is contained in:
parent
36421a25d0
commit
071df1a0fa
2
main.go
2
main.go
@ -84,7 +84,7 @@ func FetchDepartures(stopId string) (*DMResponse, error) {
|
|||||||
func main() {
|
func main() {
|
||||||
password := os.Getenv("VRNP_PASSWORD")
|
password := os.Getenv("VRNP_PASSWORD")
|
||||||
if len(password) == 0 {
|
if len(password) == 0 {
|
||||||
panic("Required environment variable VRNP_PASSWORD is not set");
|
panic("Required environment variable VRNP_PASSWORD is not set")
|
||||||
}
|
}
|
||||||
|
|
||||||
http.HandleFunc("/departures", func(w http.ResponseWriter, r *http.Request) {
|
http.HandleFunc("/departures", func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user