Skip to content

Commit b67ff57

Browse files
author
Joonas Bergius
committed
chore(examples): Switch http-password-checker component example to Go 1.24
Signed-off-by: Joonas Bergius <[email protected]>
1 parent 5af8514 commit b67ff57

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

examples/component/http-password-checker/go.mod

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module http-password-checker
22

3-
go 1.23.0
3+
go 1.24
44

55
require (
66
github.com/stretchr/testify v1.10.0
@@ -29,3 +29,8 @@ require (
2929
golang.org/x/tools v0.29.0 // indirect
3030
gopkg.in/yaml.v3 v3.0.1 // indirect
3131
)
32+
33+
tool (
34+
go.bytecodealliance.org/cmd/wit-bindgen-go
35+
go.wasmcloud.dev/wadge/cmd/wadge-bindgen-go
36+
)

examples/component/http-password-checker/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:generate go run go.bytecodealliance.org/cmd/wit-bindgen-go generate --world hello --out gen ./wit
1+
//go:generate go tool wit-bindgen-go generate --world hello --out gen ./wit
22
package main
33

44
import (

examples/component/http-password-checker/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:generate go run go.wasmcloud.dev/wadge/cmd/wadge-bindgen-go -test
1+
//go:generate go tool wadge-bindgen-go -test
22

33
package main
44

examples/component/http-password-checker/tools.go

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

0 commit comments

Comments
 (0)