Framework compatible with 1.8?

blov · · 343 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi all,</p> <p>I know frameworks aren&#39;t popular, but lets table that for another discussion please.</p> <p>I&#39;m currently using GIN and that&#39;s lagging behind for things like context, etc.</p> <p>What frameworks are keeping up? Would like opinions from those who are using them. </p> <p>Especially interested in ECHO and GOJI rather than beego/revel.</p> <p>Thanks!</p> <hr/>**评论:**<br/><br/>dgryski: <pre><p>Pressly/chi has context support.</p></pre>dlsniper: <pre><p>gorilla/mux is the most popular and widely used router (and supports the 1.7 context and whatnot) </p></pre>djslakor: <pre><p>I am curious what you base this claim on? Not disagreeing, just wondering what your data source is?</p></pre>PacNinja: <pre><p><a href="https://godoc.org/" rel="nofollow">godoc</a> tracks most imported packages and mux makes it to top 10.</p></pre>dlsniper: <pre><p><a href="https://godoc.org/?q=router" rel="nofollow">https://godoc.org/?q=router</a> -&gt; will show the imports there and gorilla/mux is first</p> <p><a href="https://godoc.org/?q=http" rel="nofollow">https://godoc.org/?q=http</a> -&gt; will show gin but if you look at the number of imports is still lower than gorilla/mux</p></pre>djslakor: <pre><p>That&#39;s great to know. Thanks for the tip :)</p> <p>Curious where they get stars from?</p></pre>dlsniper: <pre><p>Those are taken from the Github API but they are not a useful metric imho since people can use stars to bookmark projects or because of the HackerNews effect</p></pre>djslakor: <pre><p>Do any of the more monolith frameworks depend on gorilla/mux, or can this be inferred to be explicit standalone uses?</p></pre>dlsniper: <pre><p>Also, the title is wildly misleading as there are no changes in 1.8 that would render any previous &#34;frameworks&#34; incompatible and the context stuff is a 1.7 change.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

343 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传