rove/main.go
Marc Di Luzio 4a0a91a1f1 Add basic /status endpoint
Also add test for this endpoint
2020-05-29 17:58:17 +01:00

17 lines
231 B
Go

package main
import (
"log"
"net/http"
)
func main() {
// Create a new router
router := NewRouter()
// Listen and serve the http requests
if err := http.ListenAndServe(":8080", router); err != nil {
log.Fatal(err)
}
}