Skip to content

Commit

Permalink
feat(example-http-server): update west
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Sep 24, 2024
1 parent 13ee468 commit d2c2c9f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion _examples/http-server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.23.0

require (
github.com/bytecodealliance/wasm-tools-go v0.2.0
github.com/rvolosatovs/west v0.1.4
github.com/stretchr/testify v1.9.0
github.com/wasmCloud/west v0.2.0
go.wasmcloud.dev/component v0.0.0-20240910182305-2785f866ff0f
)

Expand Down
4 changes: 2 additions & 2 deletions _examples/http-server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rvolosatovs/west v0.1.4 h1:5Y4pqELgYz432GTFJEAAYoS43RVkrzT9WB/OYKd/3wg=
github.com/rvolosatovs/west v0.1.4/go.mod h1:aT8Dx8aK5DTLDwOdal3DpB7qxMMEAx2gH//CFg4EvlM=
github.com/samber/lo v1.44.0 h1:5il56KxRE+GHsm1IR+sZ/6J42NODigFiqCWpSc2dybA=
github.com/samber/lo v1.44.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
github.com/samber/slog-common v0.17.1 h1:jTqqLBgoJshpoxlPSGiypyOanjH6tY+i9bwyYmIbjhI=
Expand All @@ -18,6 +16,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/urfave/cli/v3 v3.0.0-alpha9 h1:P0RMy5fQm1AslQS+XCmy9UknDXctOmG/q/FZkUFnJSo=
github.com/urfave/cli/v3 v3.0.0-alpha9/go.mod h1:0kK/RUFHyh+yIKSfWxwheGndfnrvYSmYFVeKCh03ZUc=
github.com/wasmCloud/west v0.2.0 h1:R2/lbixcyKc0AmroBjEDU6qiDXDaLibe1b9NlsScgmY=
github.com/wasmCloud/west v0.2.0/go.mod h1:ShI3dVzzb7UUyJsHEyGwJviBB3DitSk4qI+p2RGKJNI=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
Expand Down
8 changes: 4 additions & 4 deletions _examples/http-server/main_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run github.com/rvolosatovs/west/cmd/west-bindgen-go
//go:generate go run github.com/wasmCloud/west/cmd/west-bindgen-go

package main

Expand All @@ -10,10 +10,10 @@ import (
"os"
"testing"

"github.com/rvolosatovs/west"
_ "github.com/rvolosatovs/west/bindings"
"github.com/rvolosatovs/west/westhttp"
"github.com/stretchr/testify/assert"
"github.com/wasmCloud/west"
_ "github.com/wasmCloud/west/bindings"
"github.com/wasmCloud/west/westhttp"
incominghandler "go.wasmcloud.dev/component/gen/wasi/http/incoming-handler"
)

Expand Down
2 changes: 1 addition & 1 deletion _examples/http-server/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ package main

import (
_ "github.com/bytecodealliance/wasm-tools-go/cmd/wit-bindgen-go"
_ "github.com/rvolosatovs/west/cmd/west-bindgen-go"
_ "github.com/wasmCloud/west/cmd/west-bindgen-go"
)
2 changes: 1 addition & 1 deletion _examples/http-server/west_bindings_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d2c2c9f

Please sign in to comment.