Skip to content

Commit

Permalink
fix: add build constraints to wasm demo
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix committed Feb 3, 2024
1 parent e80905b commit d5ff4e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/public/examples/wasm/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build js && wasm

// This tutorial introduces Go WebAssembly features.
//
// Go code can be compiled and ran in web browser as WebAssembly module.
Expand Down

0 comments on commit d5ff4e3

Please sign in to comment.