gave it some style
This commit is contained in:
parent
cbc2831c37
commit
84a88d6fe6
3 changed files with 155 additions and 5 deletions
2
main.go
2
main.go
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue