<p>I've been away from go for a few years.</p>
<p>Here's what I'm thinking. Any recommendations would be great. </p>
<ul>
<li>std lib where possible</li>
<li>router (I liked goji/gorilla at the time but projects seems stale) for REST. </li>
<li>gRPC seems like a good fit non REST (agent, mobile, path to micro-service etc). I saw some good gophercon talks on this. My concern is that gRPC is Alpha. </li>
<li>sqlx .... was pretty "meh". Has <code>go generate</code> done anything to improve sql writing? I'm not looking for an ORM, but something slightly better than SQLx would be loved. </li>
<li>I'd like to use an embedded database. I <em>love</em> sqlite but <em>hate</em> that the sqlite driver for go requires c-go which makes cross compilation a much bigger PITA. Any suggestions here? </li>
<li>angular/react/whatever the new hot bullshit is for front-end. I was leaning towards Angular because we are B2B and that seems to be the most adopted framework in enterprise land.</li>
<li>Speaking of frontend. How are you managing authorization between frontend and backend session. At the time, I used JWT but it always gave me a pretty "icky" feeling security wise. </li>
</ul>
<p>What's considered best practice these days? </p>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传