spoc-bot-vr/main.go

20 lines
253 B
Go

package main
import (
"fmt"
"net/http"
"os"
)
func main() {
p := os.Getenv("PORT")
if p == "" {
p = "8080"
}
addr := fmt.Sprintf(":%s", p)
if err := http.ListenAndServe(addr, http.HandlerFunc(http.NotFound)); err != nil {
panic(err)
}
}