Skip to content

Instantly share code, notes, and snippets.

Created April 27, 2021 10:56
What would you like to do?
wasm-go-playground change
package main
import (
//go:embed cmd/* prebuilt/* index.html jquery-linedtextarea.js playground.js sharing.js style.css wasm_exec.js
var content embed.FS
func main() {
http.Handle("/", http.FileServer(http.FS(content)))
log.Fatal(http.ListenAndServe(":8080", nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment