Update 14.6.md

This commit is contained in:
yellow chicks
2017-09-09 09:33:35 +08:00
committed by GitHub
parent 907cf15d1d
commit d4c14d8372

View File

@@ -33,7 +33,7 @@ type ProfController struct {
}
func (this *ProfController) Get() {
switch this.Ctx.Params[":pp"] {
switch this.Ctx.Param[":pp"] {
default:
pprof.Index(this.Ctx.ResponseWriter, this.Ctx.Request)
case "":
@@ -107,4 +107,4 @@ go tool pprof http://localhost:8080/debug/pprof/profile
## links
* [目录](<preface.md>)
* 上一节: [多语言支持](<14.5.md>)
* 下一节: [小结](<14.7.md>)
* 下一节: [小结](<14.7.md>)