Skip to content

Commit d4c14d8

Browse files
authored
Update 14.6.md
1 parent 907cf15 commit d4c14d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zh/14.6.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type ProfController struct {
3333
}
3434

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

0 commit comments

Comments
 (0)