From d4c14d8372de9d7e43bf886000d71c3a98f1d7b8 Mon Sep 17 00:00:00 2001 From: yellow chicks Date: Sat, 9 Sep 2017 09:33:35 +0800 Subject: [PATCH] Update 14.6.md --- zh/14.6.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>)