LogVoyage - logging service written in golang

blov · · 752 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello. I&#39;m writing logging service in free time. Need your feedback. It is beta now.</p> <p><a href="https://github.com/firstrow/logvoyage">https://github.com/firstrow/logvoyage</a></p> <hr/>**评论:**<br/><br/>tclineks: <pre><p><a href="https://github.com/firstrow/logvoyage/blob/master/web/web.go#L60" rel="nofollow">https://github.com/firstrow/logvoyage/blob/master/web/web.go#L60</a> you have a hard-coded path here.</p></pre>firstrow2: <pre><p>thanks. fixed.</p></pre>tclineks: <pre><p>Now you&#39;re assuming that</p> <ul> <li>A) GOPATH is set</li> <li>B) GOPATH has one value</li> <li>C) those slashes will work on windows (this one could be correct, I don&#39;t recall).</li> </ul> <p>edit: you might also read <a href="https://stephensearles.com/three-reasons-you-should-not-use-martini/" rel="nofollow">this article on using martini</a></p></pre>firstrow2: <pre><p>sure, this may not work for windows. it is quick-fix, just to get app running. will refactor paths later.</p></pre>firstrow2: <pre><p>I&#39;ve read about martini and I have plans to migrate to gin-gonic framework</p></pre>davecheney: <pre><p>go get github.com/firstrow/logvoyage/...</p> <p>Will be sufficient, you can delete the other two lines of installation documentation.</p></pre>firstrow2: <pre><p>thank you for notice.</p></pre>Mteigers: <pre><p>Just a thought for something like a logger that I&#39;ve seen with other services and that is to implement logging via UDP in addition to (or instead of) TCP as there isn&#39;t any over head of the handshake with UDP. </p></pre>

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

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