aboutsummaryrefslogtreecommitdiff
path: root/go/ui/openUrl.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ui/openUrl.go')
-rw-r--r--go/ui/openUrl.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/go/ui/openUrl.go b/go/ui/openUrl.go
index 7e227ba8..7d429577 100644
--- a/go/ui/openUrl.go
+++ b/go/ui/openUrl.go
@@ -1,3 +1,6 @@
+//go:build !wasm
+// +build !wasm
+
package ui
import (
@@ -6,7 +9,7 @@ import (
)
// https://stackoverflow.com/questions/39320371/how-start-web-server-to-open-page-in-browser-in-golang
-// open opens the specified URL in the default browser of the user.
+// OpenUrl opens the specified URL in the default browser of the user.
func OpenUrl(url string) error {
var cmd string
var args []string