diff --git a/zh/14.6.md b/zh/14.6.md index 806f8193..c139234b 100644 --- a/zh/14.6.md +++ b/zh/14.6.md @@ -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 * [目录]() * 上一节: [多语言支持](<14.5.md>) - * 下一节: [小结](<14.7.md>) \ No newline at end of file + * 下一节: [小结](<14.7.md>)