diff --git a/zh/14.6.md b/zh/14.6.md index e12fef85..f5251a44 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 "":