<p>Hello,
I'm currently developing a Go application for RaspberryPi. I'd like to cross compile the application in the IDE, deploy the executable into the device (SSH or FTP) and then start the application with delve. Currently I'm doing this manually, is there an automatic way in GOland IDE, so I can get a similar experience like Android app development? </p>
<hr/>**评论:**<br/><br/>callcifer: <pre><p>Yes, you can specify <code>GOOS</code> and <code>GOARCH</code> in your <a href="https://i.imgur.com/2k5yDsH.png" rel="nofollow">run configuration</a> to target different platforms. For uploading executables, read <a href="https://www.jetbrains.com/help/idea/uploading-and-downloading-files.html" rel="nofollow">this guide</a>, which applies to the entire Intellij platform.</p></pre>gngeorgiev: <pre><p>Yeah, it's called scripting.</p>
<p>E.g. bash, makefile etc.</p></pre>callcifer: <pre><p>How does that answer OP's question? They specifically asked for a way to do it inside the IDE <em>with a similar experience to Android Studio</em>.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传