INNER CODE UNIT · Go

main

schadokar/go-to-do-app · go-server/main.go:11

func main() {
	r := router.Router()
	// fs := http.FileServer(http.Dir("build"))
	// http.Handle("/", fs)
	fmt.Println("Starting server on the port 8080...")

	log.Fatal(http.ListenAndServe(":8080", r))
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…