Skip to content

Commit d38f950

Browse files
committed
go: minor tweaks to the wording
Signed-off-by: Jiaxiao Zhou (Mossaka) <[email protected]>
1 parent 94885cd commit d38f950

File tree

1 file changed

+3
-2
lines changed
  • component-model/src/language-support

1 file changed

+3
-2
lines changed

component-model/src/language-support/go.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,14 @@ should be done before any other tasks. In this case, we are using it to export t
162162

163163
We can build our component using TinyGo by specifying the wit-package to be `add.wit` and the WIT world to be `adder`.
164164

165-
TinyGo will invoke `wasm-tools` to embed the WIT file to the module and componentize it.
165+
Under the hood, TinyGo invokes `wasm-tools` to embed the WIT file to the module and componentize it.
166166

167167
```console
168168
$ tinygo build -target=wasip2 -o add.wasm --wit-package add.wit --wit-world adder main.go
169169
```
170170

171-
We can confirm using the `wasm-tools component wit` command:
171+
We now have an add component that satisfies our `adder` world, exporting the `add` function, which
172+
we can confirm using the `wasm-tools component wit` command:
172173

173174
```console
174175
$ wasm-tools component wit add.wasm

0 commit comments

Comments
 (0)