Why Handler is not reached

(Miha) #1


why in my case handler is not reached?

http.HandleFunc("/test", TestFunc)
log.Fatal(http.ListenAndServe(":8889", nil))

func TestFunc(w http.ResponseWriter, r *http.Request) {

(Karthick) #2

hello miha,
Can you please post your complete code for better understanding.

(Yamil Bracho) #3

If your are waiting to see “test” in the browser, you have to change your code to


(system) closed #4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.