diff --git a/README.md b/README.md index 6eae6336..7104ea54 100644 --- a/README.md +++ b/README.md @@ -112,8 +112,8 @@ To run a Gio program in a browser with WebAssembly and WebGL support, use the Go driver and add a
element to a HTML page. The gio tool can also output a directory ready to view in a browser: - $ go get github.com/shurcooL/goexec $ go run gioui.org/cmd/gio -target js gioui.org/apps/gophers + $ go get github.com/shurcooL/goexec $ goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir("gophers")))' Open http://localhost:8080 in a browser to run the app.