WebGo v2, a micro web framework

xuanbao · · 453 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I pushed v2 of a mini web framework which I started building ~2 years ago. I had <a href="https://www.reddit.com/r/golang/comments/46zq1d/an_amateur_effort_at_creating_a_simple_web/">posted on</a> Reddit back then, posting it again for you guys&#39; feedback.</p> <p>Edit: <a href="https://github.com/bnkamalesh/webgo">WebGo</a>, added a direct link <code>/u/ashfame</code>&#39;s comment helped me realize I hadn&#39;t added it!</p> <hr/>**评论:**<br/><br/>ashfame: <pre><p>Direct link - <a href="https://github.com/bnkamalesh/webgo" rel="nofollow">https://github.com/bnkamalesh/webgo</a></p></pre>vx2d: <pre><p>I like gin web framework. because it very fast</p></pre>kamaleshbn: <pre><p>Gin is indeed a well established awesome framework which does a lot. Compared to Gin, WebGo does not even provide a lot of features. WebGo is a micro-framework, which helps developers handle APIs by getting out of their way as much as possible.</p></pre>vx2d: <pre><p>nice</p></pre>robvdl: <pre><p>Sigh, so is pretty much every other router out there (except a few I&#39;ve come across that use lots of reflection at runtime like gocraft/web). I don&#39;t have anything against Gin but comparing routers for their speed is a bit stupid because most of your performance will be lost in your own code generally, waiting for IO, DB queries etc. The difference in routers is so small it&#39;s not even noticeable. Gin does have a very large community and that is a much better reason to choose it than speed, other good reasons to choose a framework could be well designed code base, features it provides, or in the case of Chi the handlers follow the same signature as stdlib which makes it easier to mix with other libraries than Gin for example.</p> <p><a href="http://dayssincelastgohttprouter.com/" rel="nofollow">http://dayssincelastgohttprouter.com/</a></p> <p>But more seriously, this is a better link, that made me choose a router a while back, but it looks like it isn&#39;t updated all that frequently:</p> <p><a href="https://github.com/diyan/go-web-framework-comparsion" rel="nofollow">https://github.com/diyan/go-web-framework-comparsion</a></p></pre>

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

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