Fix typo in example (#100)
This commit is contained in:
parent
9e3a080aa3
commit
0506f74600
|
@ -79,7 +79,7 @@ func drawCustomChart(res http.ResponseWriter, req *http.Request) {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
http.HandleFunc("/", drawChart)
|
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{})
|
res.Write([]byte{})
|
||||||
})
|
})
|
||||||
http.HandleFunc("/custom", drawCustomChart)
|
http.HandleFunc("/custom", drawCustomChart)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user