gave it some style

This commit is contained in:
partisan 2024-03-28 08:19:29 +01:00
parent cbc2831c37
commit 84a88d6fe6
3 changed files with 155 additions and 5 deletions

View file

@ -28,7 +28,7 @@ var templates = template.Must(template.New("").Funcs(funcs).ParseFiles("template
func main() {
http.HandleFunc("/", handleSearch)
http.HandleFunc("/search", handleSearch)
fmt.Println("Server is listening on port 5000...")
fmt.Println("Server is listening on http://localhost:5000")
log.Fatal(http.ListenAndServe(":5000", nil))
}