I am following a simple web server example in Go.
I inserted a log statement so that the resulting code looks like below:
package main
If you request from a service is fine, but if you test from a browser and is not the production intention you can do this in golang code for avoid browser load the favicon:
http.HandleFunc("/favicon.ico", doNothing)
And the function
func doNothing(w http.ResponseWriter, r *http.Request){}
For people voting negatives: this works, sorry for handle it with this code in an api that doesn't need favicon or whatever...