Files
nebula/main.go

19 lines
267 B
Go
Raw Normal View History

package main
import (
"fmt"
"log"
"net/http"
"nebula/handlers"
)
func main() {
mux := http.NewServeMux()
handlers.RegisterRoutes(mux)
addr := ":8080"
fmt.Printf("Starting server at http://localhost%s\n", addr)
log.Fatal(http.ListenAndServe(addr, mux))
}