<p>Any comprehensive tutorials on how to pass information back and forth between GoLang and HTML?</p>
<hr/>**评论:**<br/><br/>xiegeo: <pre><p>Depending on what you need, you can use http post, URL queries, or cookies. Most of what you need to learn are language independent and applies for any http server.</p></pre>tinygopher: <pre><p>You could have go render form data in a template and then process that with an api endpoint. I would look into forms and rest.(rest is just a concept, forms are standard html syntax) I hope this helps.</p></pre>ultra_brite: <pre><p>it's no different from any other language, the client issue a request that request may or may not have a body and headers, and the server responds with a html page. You need to explain what you mean by "how to pass information back and forth between GoLang and HTML" and come with a concrete use case that will save everybody's time instead of trying to figure out what you mean by remaining vague as fuck.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传