Theory and Practice
About Archives Categories Tags Authors 中文 ไทย
  1. Tags
  2. Full-Stack Golang

Embed Read-Only Files in Go Code

May 03, 2018

Embed read-only files in Go code.

 read more »

Embed Data in Front-end Go Code

April 08, 2017

Embed data/assets/resources/binary in Go code, and compiled by GopherJS to a single JavaScript file which runs on the front-end browser.

 read more »

[Golang] JSONP Example (CORS) by GopherJS

January 23, 2016

Run Golang program in your browser by GopherJS. Show how to make cross-domain requests (CORS) by JSONP (JSON with Padding) technique, which allows data to be retrieved from servers of other domains. This is an example of full-stack Go, which uses Golang to develop web applications in both front-end and backend.

 read more »

[Golang] XMLHttpRequest (XHR) HTTP POST JSON Data by GopherJS

January 21, 2016

Run Golang program in your browser by GopherJS. Use XMLHttpRequest (XHR) to send HTTP POST requests to send JSON data to remote server. This is an example of full-stack Go, which uses Golang to develop web applications in both front-end and backend.

 read more »
Powered by Github Pages, Pelican, pyScss.