File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ build-wasm: site/public/build/preview.wasm
1414 mkdir -p ./site/public/build/
1515
1616site/public/build/preview.wasm : $(GO_SRC_FILES )
17- GOOS=js GOARCH=wasm go build -o site/public/build/preview.wasm ./cmd/wasm
17+ GOOS=js GOARCH=wasm go build -o site/public/build/preview.wasm ./cmd/wasm
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
1818
1919func main () {
2020 // Create a channel to keep the Go program alive
21- done := make (chan struct {}, 0 )
21+ done := make (chan struct {})
2222
2323 // Expose the Go function `fibonacciSum` to JavaScript
2424 js .Global ().Set ("go_preview" , js .FuncOf (tfpreview ))
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ dist-ssr
2323* .sln
2424* .sw ?
2525
26- # wasm
27- public /build /preview.wasm
26+ # build artifacts
27+ public /build /
You can’t perform that action at this time.
0 commit comments