<p>I'm looking for testers to try this new framework I wrote. I started learning go about 2 months ago. The results of all that learning is this small MVC for go. I would like to know what other codes think of it. I do not know anyone that knows anything about coding golang and that's why I'm posting here. It would be nice to get some feedback so I know if I'm on the right track or not. Anyone interested can get the code on github at "unodan/gobase", <a href="https://github.com/unodan/gobase" rel="nofollow">https://github.com/unodan/gobase</a> </p>
<hr/>**评论:**<br/><br/>mixedCase_: <pre><p>The standard library is the "minimal web framework" for Go. If you want more than that you want something like negroni+gorilla or gin.</p>
<p>Please don't take this the wrong way, but web frameworks are something that has been done to death in Go. I'm pretty sure there's at least a new one every week, and they're all pretty much identical.</p>
<p>If you want a project to learn more about Go and push the boundaries a bit from the usual, why don't you try making a desktop application with a GUI? Personally, I've never seen one posted here on this sub :)</p></pre>dasacc22: <pre><p>Well, I listed it as mobile but it does run on Linux desktop, probably OSX as well :) <a href="https://www.reddit.com/r/golang/comments/486pzk/go_on_mobile_example/" rel="nofollow">https://www.reddit.com/r/golang/comments/486pzk/go_on_mobile_example/</a></p></pre>mixedCase_: <pre><p>Nice! Hope to see material released!</p></pre>danhuckson: <pre><p>I know it's been done before, that's not what this post is about. Please understand that I'm new to go and my goal with this post was to get feedback from people. The feedback I'm looking for is not what the best program to write, I'm looking for feedback on style and the quality of my coding. I would like to know things like, is the code easy to understand, any problems with my methods, better ways to do things, etc. </p></pre>quiI: <pre><blockquote>
<p>Minimal Web Framework for Golang</p>
</blockquote>
<p>/me goes to github</p>
<blockquote>
<p>An advanced web application template framework for go</p>
</blockquote>
<p>Pick one :p </p></pre>MatthiasLuft: <pre><p>reddit is a rude place. A thread called "beginner looking for feedback" wouldn't have been shot down. </p></pre>hansdr: <pre><p>I recommend inserting the list of features/benefits into your framework's readme. When searching for a web framework, the first few questions that I have for each framework that I see are:
Q1) What can this web framework do for me?
Q2) How easy/hard is it to use?</p>
<p>Your readme needs to be able to answer at least Q1 at a glance.</p></pre>seufert: <pre><p>From what i see:</p>
<ul>
<li>That is not web framework, more a CMS: You present fixed-structured pages.</li>
<li>I failed to see any MVC</li>
<li>Do a README describing the ideas</li>
<li>Don't name your sql.DB con (it's not a connection)</li>
<li>Don't register Routes using a YAML file (we are not Ruby)</li>
</ul></pre>danhuckson: <pre><p>Thank you for your feedback, I have edited the code to not use the YAML file for routes and renamed the "con for connection" to "hdl for handler". I will get to the documentation once I have a stable base that not going to change. If there is anything else you or anyone else notices please let me know, I like to do things the correct way. </p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传