flysnow-org / comment

http://www.flysnow.org/ 博客的评论
http://www.flysnow.org/
1 stars 0 forks source link

2019/12/15/golang-gin-query-parameters-source-code-analysis #65

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Golang Gin 实战(四)| URL查询参数的获取和原理分析 | 飞雪无情的博客

Golang Gin 实战(四)| URL查询参数的获取和原理分析

https://www.flysnow.org/2019/12/15/golang-gin-query-parameters-source-code-analysis.html

Lition13 commented 4 years ago

测试一下评论

flysnoworg commented 4 years ago

这个评论非常NB @Lition13

chenzihaojie commented 4 years ago

测试一下评论

Lition13 commented 4 years ago

你的 go 代码是自定了格式吗,为什么我输出的格式花里胡哨的。。@rujews

flysnoworg commented 4 years ago

博客?高亮? @Lition13

Lition13 commented 4 years ago

对呀,正在使用你的 hugo 皮肤,代码高亮的效果和你不一样。@rujews

flysnoworg commented 4 years ago

截图看,可能是最新的Hugo版本不兼容,Hugo v0.60 改了MD的解析库 @Lition13

Lition13 commented 4 years ago

img

Lition13 commented 4 years ago

@rujews

flysnoworg commented 4 years ago

更新最新的主题,可以了 @Lition13

Lition13 commented 4 years ago

可以了,谢谢大佬。@rujews

Lition13 commented 4 years ago

这个评论系统怎么搞出来的,我怎么弄不出来。。。@rujews

Lition13 commented 4 years ago

哇,大佬你又更新了什么哟,代码现实一片白,目录也乱来了。。。@rujews

truthhk commented 4 years ago

这个评论好用吗?

Lition13 commented 4 years ago

非常Nice

------------------ 原始邮件 ------------------ 发件人: "crazydebug"<notifications@github.com>; 发送时间: 2020年3月5日(星期四) 上午10:00 收件人: "flysnow-org/comment"<comment@noreply.github.com>; 抄送: "李克森"<635766754@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [flysnow-org/comment] 2019/12/15/golang-gin-query-parameters-source-code-analysis (#65)

这个评论好用吗?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

catundercar commented 4 years ago

大佬,我想问下您c.queryCache这个url的键值对是将多个请求的url的键值对都存在一起了吗?这里不太理解,,

cw4t commented 4 years ago

"GetQuery方法的底层实现其实是c.Request.URL.Query().Get(key),通过url.URL.Query()来获取所有的参数键值对"

这句url.URL.Query() 应该改为 Request.URL.Query() 吧