<p>I'm looking for programming buddies who'd like to discuss tech news, problems and solutions, make code review for pet projects by voice on Skype/Discord/Any.</p>
<p>I don't have production experience with Go, all my knowledge about it is only theoretical. But I'm not a newbie developer. I have been working as a programmer since 2001. I worked a lot with Java and Python. Now I use for backend Node.js (TypeScript).</p>
<p>I'd like to discuss common questions about web development for Go:</p>
<ul>
<li><p>What web framework to use?</p></li>
<li><p>How to work with PostgreSQL / MongoDB?</p></li>
<li><p>What about logger?</p></li>
<li><p>What about templates?</p></li>
<li><p>How to work with RabbitMQ?</p></li>
<li><p>How to communicate between microservices in Go?</p></li>
</ul>
<p>And so on...</p>
<p>From my side, I can tell you about blockchain technologies like Bitcoin and Ethereum. I work for private blockchain projects with Ethereum, so I can tell you about it without marketing bullshit.</p>
<p>The best time for me for audio/video calls at 17:00 UTC. But I work remotely, so I can find time between 6:00 and 17:00 UTC. My local time zone UTC+3, I'm from Russia.</p>
<p>PM me, if you are interested. Thanks!</p>
<hr/>**评论:**<br/><br/>Shammyhealz: <pre><blockquote>
<p>What web framework to use?</p>
</blockquote>
<p>You probably shouldn't. The only thing I've found myself using them for is dependency injection, and that's fairly easy without a web framework. <a href="https://medium.com/@zach_4342/dependency-injection-in-golang-e587c69478a8">Here</a> is a pretty decent article showing how to do dependency injection.</p>
<p>I am partial to Mux for routing, but there are a few decent competitors if you want to prioritize speed over features.</p>
<blockquote>
<p>How to work with PostgreSQL / MongoDB?</p>
</blockquote>
<p>Don't use MongoDB. Last I heard they had data loss issues that were tied to the architecture they chose. For PostgreSQL, I use the pq driver. It's pure go, so no cgo calls. You can use the dependency injection above to insert it into HTTP handlers.</p>
<blockquote>
<p>What about logger?</p>
</blockquote>
<p>Logrus if you want hooks to output to a variety of logging destinations (ElasticSearch, syslog, Postgres, etc). If you just need to log to files, I like Zap because of the insanely low allocations.</p>
<blockquote>
<p>What about templates?</p>
</blockquote>
<p>I use dependency injection to make a pool of them available. Or I just do client side rendering with something like Vue.</p>
<blockquote>
<p>How to communicate between microservices in Go?</p>
</blockquote>
<p>I've fallen in love with gRPC lately. It's great if it's just microservice-microservice communication. It is not as easy as REST to call into from a browser though, so the frontend would probably have to serve JSON.</p></pre>elvi_okoye: <pre><p>Completely agree with this guy. Skip frameworks, use gRPC for anything that doesn't need to deal with JavaScript. When you absolutely have to, websockets are a great alternative for streaming. </p></pre>dark_magician2: <pre><p>Checkout CockroachDB instead of Postgres and for communicating between microservices I'd personally use gRPC :D</p></pre>wshuler: <pre><p>Hey! Could you elaborate on why you prefer CockroachDB? I just started a little go microservice project using postgres because... you know... open source and it's not made by Microsoft haha.</p>
<p>Should I make the switch?</p></pre>dark_magician2: <pre><p>Cockroach uses the Postgres wire protocol so it's almost completely backwards compatible with Postgres. I like Cockroach because it's newSQL which means it's very easy to scale, you just add it to a cluster and it handles everything. Since most things are run in a cloud environment I value the ability for one instance of my database to go down and not everything is ruined :)</p></pre>toorusan: <pre><p>No.</p></pre>dvdmuckle: <pre><p>There's #go-nuts on Freenode IRC. There's also a Golang Slack. I'm in the both if you want to chat.</p></pre>bawigga: <pre><p>The Gopher slack group is a terrific community of GoLang developers. Come join us!</p>
<p><a href="https://invite.slack.golangbridge.org/" rel="nofollow">https://invite.slack.golangbridge.org/</a></p></pre>max-block: <pre><p>I'm already there. I've posted there the same message to the #golang-newbies channel, but people not happy about it. They are ready to discuss my questions in text form, but don't want to do it by voice.</p>
<p>I haven't found any channels like #introduce_yourself there, so I don't know what channels are suitable for such messages.</p>
<p>For example, on discord server "Discord Gophers" they have deleted my the same message like a spam.</p>
<p>So I believe in power of Reddit :)</p></pre>monkey-go-code: <pre><p>I’ve built a few small things with some of those in GoLang. Angular 5/ GoLang/ Mongodb stack. I thinks that’s a pretty good stack. I would love to talk about it.</p></pre>max-block: <pre><p>Please message me on Discord: maxblock#1713</p></pre>Stopher87: <pre><p><a href="https://codebuddies.org/" rel="nofollow">https://codebuddies.org/</a></p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传