Skip to content

Commit 9ac6589

Browse files
committed
fix: adding .gitattributes and misc tidying
Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com>
1 parent 498227c commit 9ac6589

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
examples/sdk/pkg/bindings/imports/** linguist-generated=true
2+
examples/sdk/pkg/bindings/exports/wit_exports/** linguist-generated=true
3+
examples/sdk/pkg/wit/deps/** linguist-generated=true

examples/sdk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can override the default worlds via the command line. Note that doing so cau
2323

2424
## Defining Imports
2525

26-
Imports are straight forward since componentize-go generates the bindings. To see how imports are abstracted, see the [sockets package](pkg/sockets/sockets.go).
26+
Imports are straightforward since componentize-go generates the bindings. To see how imports are abstracted, see the [sockets package](pkg/sockets/sockets.go).
2727

2828
## Defining Exports
2929

examples/sdk/pkg/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ func RegisterExports(c Component) {
2020
panic(err)
2121
}
2222

23-
return witTypes.Result[witTypes.Unit, witTypes.Unit]{}
23+
return witTypes.Ok[witTypes.Unit, witTypes.Unit](witTypes.Unit{})
2424
}
2525
}

0 commit comments

Comments
 (0)