Embed Read-Only Files in Go Code
Embed read-only files in Go code.
read more »Embed read-only files in Go code.
read more »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 »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 »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 »