Merge pull request #890 from 1046102779/patch-2

Update 14.6.md
This commit is contained in:
astaxie
2017-09-10 19:57:39 +08:00
committed by GitHub

View File

@@ -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 "":