Fix typo in example (#100)

This commit is contained in:
Andrew Poydence 2018-09-05 09:43:35 -06:00 committed by Will Charczuk
parent 9e3a080aa3
commit 0506f74600

View file

@ -79,7 +79,7 @@ func drawCustomChart(res http.ResponseWriter, req *http.Request) {
func main() {
http.HandleFunc("/", drawChart)
http.HandleFunc("/favico.ico", func(res http.ResponseWriter, req *http.Request) {
http.HandleFunc("/favicon.ico", func(res http.ResponseWriter, req *http.Request) {
res.Write([]byte{})
})
http.HandleFunc("/custom", drawCustomChart)