<p>I have seen Java, .net technologies are used in this field. But never heard of Go. I want to know what kind of advantages and drawbacks may be? </p>
<hr/>**评论:**<br/><br/>dlsniper: <pre><p>Considering there's a bank, Monzo in UK, building their whole backend in Go, then yes, Go probably is ok.</p></pre>ligustah: <pre><p>I wouldn't say that you can't do it in Go, but I'm pretty sure Monzo specifically used JVM technology to actually interface with other banks. So most of their backend is Go, but not all of it. Can't remember the source right now, was some talk or blog post.</p></pre>tural-esger: <pre><p><a href="https://monzo.com/blog/2016/09/19/building-a-modern-bank-backend/" rel="nofollow">https://monzo.com/blog/2016/09/19/building-a-modern-bank-backend/</a></p></pre>Tikiatua: <pre><p>Hi there,</p>
<p>Main thing will probably be the api documentation, versioning and dynamic data struct – i.e. same struct with different fields depending on the type. However, I would argue that you should not use dynamic data structs anyway. Good api documentation will probably be the most important things for your customers (from my personal experience).</p></pre>grabberfish: <pre><p>Go is used in the payments world.</p>
<p>Pros: Fast development time, portability.</p>
<p>Cons: Dev pool depth (cost of resources).</p>
<p>Interfacing issues between the entities are largely irrelevant as people use open formats and utilise what they inherited on the backend.</p></pre>tural-esger: <pre><p>Would you elaborate please. Your point caught my eyes.</p></pre>EclecticMind: <pre><p>Funny seeing this here. I was working on this exact problem earlier today.</p>
<p>It's hard to say if Go will be a good fit for you without understanding more about your requirements. Do you deal with multiple currencies? Are you going to support more than one merchant? Is there anyone on your team experienced in Go?</p></pre>tural-esger: <pre><p>Yes with multiple currencies, lots of merchants. And I didn't get your point on experienced developer. Anyway whatever programming language you use you will hire experienced developer. Put it this way. Say I want to build local payment gateway then if successful open to the world. One of guys talked about Monzo wrote their backend with go. I found that post and read. It was helpful. Your thoughts are welcome also. </p></pre>sandos: <pre><p>There is also a lightning (bitcoin) implemention (<a href="https://github.com/lightningnetwork/lnd" rel="nofollow">https://github.com/lightningnetwork/lnd</a>) done in go, and I see no reason why you couldn't do payment related thingsin Go.</p></pre>tural-esger: <pre><p>Because these enterprise technologies are written in Java and .net. I think it can be some cases that Go would be incompatible with them maybe. Or maybe we must implement most of things from scratch rather than buying ready solutions and so on. </p></pre>Sythe2o0: <pre><p>You're correct in that the disadvantages, if they exist, will be that many things won't be already written for you, especially if your shop is picky about using open source libraries. That's essentially the only disadvantage, unless you get into more specifics about the code you will be wanting to write, as there aren't really specific challenges that a payment gateway implies that will vary by language.</p>
<p>There isn't anything about enterprise tech that would change this. </p></pre>zanven42: <pre><p>Well you can write a grpc service and use the JVM as a local gateway that passes on requests. Hopefully very minimal code, rather annoying to keep maintained but could be worse. Anything is doable it's just how bad are the cons, I can't answer. </p></pre>schumacherfm: <pre><p>They <a href="https://github.com/fritz-payment" rel="nofollow">https://github.com/fritz-payment</a> tried and failed.</p>
<p>They removed their main repo which contained the payment logic. It was online a couple of monthssss ago. Code base was not that nice, afair.</p></pre>HighOnCloud: <pre><p>reptilians confirmed</p></pre>shovelpost: <pre><blockquote>
<blockquote>
<p>It was online a couple of monthssss ago.</p>
</blockquote>
<p>reptilians confirmed</p>
</blockquote>
<p>That cracked me up! :D</p></pre>schumacherfm: <pre><p>me too :-)</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传