Skip to content

Commit 9feb231

Browse files
authored
Merge pull request astaxie#890 from 1046102779/patch-2
Update 14.6.md
2 parents 9d94b6c + d4c14d8 commit 9feb231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/14.6.md

+1-1
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 "":

0 commit comments

Comments
 (0)