We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be8b19 commit a33ec1bCopy full SHA for a33ec1b
1 file changed
component-model/src/language-support/go.md
@@ -40,21 +40,14 @@ $ wkg wit build
40
WIT package written to docs:adder@0.1.0.wasm
41
```
42
43
-The `docs:adder@0.1.0.wasm` file is a Wasm encoding of the WIT package. Next, we can generate the bindings for it:
44
-
45
-```console
46
-$ go get go.bytecodealliance.org/cmd/wit-bindgen-go
47
-$ go run go.bytecodealliance.org/cmd/wit-bindgen-go generate -o internal/ ./docs:adder@0.1.0.wasm
48
-```
49
50
Now, create your Go project:
51
52
```console
53
$ mkdir add && cd add
54
$ go mod init example.com
55
56
57
-Next, we can generate the bindings for the `add.wit` file:
+Next, we can generate the bindings for the Wasm component:
58
59
60
$ go get go.bytecodealliance.org/cmd/wit-bindgen-go
0 commit comments