go run main.go
Then go to http://localhost:5000/sign-up-form
You should see the following:
You can also change the listening server in main.go:
func main() {
http.HandleFunc("/", userHandler)
http.ListenAndServe("YourServer:Port", nil)
}
go run main.go
Then go to http://localhost:5000/sign-up-form
You should see the following:
You can also change the listening server in main.go:
func main() {
http.HandleFunc("/", userHandler)
http.ListenAndServe("YourServer:Port", nil)
}