GoLang to HTML - HTML to GoLang

blov · · 464 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<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&#39;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 &#34;how to pass information back and forth between GoLang and HTML&#34; and come with a concrete use case that will save everybody&#39;s time instead of trying to figure out what you mean by remaining vague as fuck.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

464 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传