Skip to content

Commit 83576ab

Browse files
author
Joonas Bergius
committed
chore(examples): Switch http-client component example to Go 1.24
Signed-off-by: Joonas Bergius <[email protected]>
1 parent b8fc3e5 commit 83576ab

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

examples/component/http-client/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wasmCloud/go/examples/component/http-client
22

3-
go 1.23.0
3+
go 1.24
44

55
require (
66
go.bytecodealliance.org v0.5.0
@@ -21,5 +21,7 @@ require (
2121
golang.org/x/sys v0.29.0 // indirect
2222
)
2323

24+
tool go.bytecodealliance.org/cmd/wit-bindgen-go
25+
2426
// NOTE(lxf): Remove this line if running outside of wasmCloud/go repository
2527
replace go.wasmcloud.dev/component => ../../../component

examples/component/http-client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package main
22

3-
//go:generate go run go.bytecodealliance.org/cmd/wit-bindgen-go generate --world example --out gen ./wit
3+
//go:generate go tool wit-bindgen-go generate --world example --out gen ./wit
44

55
import (
66
"io"

examples/component/http-client/tools.go

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)