Created
April 27, 2021 10:56
-
-
Save naikrovek/1ba61a60b66f0bb40dbe105b09cd052e to your computer and use it in GitHub Desktop.
Revisions
-
naikrovek created this gist
Apr 27, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ package main import ( "embed" "log" "net/http" ) //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)) }