1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 14:10:49 +00:00

Merge pull request #1318 from tabalt/patch-1

fixed mux1 to mux
This commit is contained in:
astaxie 2015-08-21 10:57:42 +08:00
commit db2b1ee54f

View File

@ -32,7 +32,7 @@
// mux := http.NewServeMux()
// mux.HandleFunc("/hello", handler)
//
// err := grace.ListenAndServe("localhost:8080", mux1)
// err := grace.ListenAndServe("localhost:8080", mux)
// if err != nil {
// log.Println(err)
// }