Update 14.6.md
This commit is contained in:
@@ -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
|
||||
* [目录](<preface.md>)
|
||||
* 上一节: [多语言支持](<14.5.md>)
|
||||
* 下一节: [小结](<14.7.md>)
|
||||
* 下一节: [小结](<14.7.md>)
|
||||
|
||||
Reference in New Issue
Block a user