Fix typo in example

This commit is contained in:
Andrew Poydence 2018-09-04 23:28:03 -06:00 committed by GitHub
parent 9e3a080aa3
commit 3ce3936bca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)