Skip to content

Commit

Permalink
fix: typo khown -> known
Browse files Browse the repository at this point in the history
  • Loading branch information
gqcn committed Dec 4, 2024
1 parent 12b7f97 commit 6a8b070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/quick/快速开始/获取请求参数.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (r *Request) Get(key string, def ...interface{}) *gvar.Var

![img.png](img.png)

我们访问 http://127.0.0.1:8000/ 可以看到,页面输出结果同样符合预期。当未传递`name`参数时,程序将会使用默认值`unkhown`,并且`age`参数会使用`int`类型的默认值`0`。
我们访问 http://127.0.0.1:8000/ 可以看到,页面输出结果同样符合预期。当未传递`name`参数时,程序将会使用默认值`unknown`,并且`age`参数会使用`int`类型的默认值`0`。

![alt text](QQ_1730178667265.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (r *Request) Get(key string, def ...interface{}) *gvar.Var

![img.png](img.png)

我们访问 http://127.0.0.1:8000/ 可以看到,页面输出结果同样符合预期。当未传递`name`参数时,程序将会使用默认值`unkhown`,并且`age`参数会使用`int`类型的默认值`0`。
我们访问 http://127.0.0.1:8000/ 可以看到,页面输出结果同样符合预期。当未传递`name`参数时,程序将会使用默认值`unknown`,并且`age`参数会使用`int`类型的默认值`0`。

![alt text](QQ_1730178667265.png)

Expand Down

0 comments on commit 6a8b070

Please sign in to comment.