Skip to content

Commit

Permalink
chore(examples): Use the published go.wasmcloud.dev/component module (#…
Browse files Browse the repository at this point in the history
…29)

Signed-off-by: Joonas Bergius <[email protected]>
  • Loading branch information
joonas authored Oct 22, 2024
1 parent 2ec4dc4 commit aabd2a5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
5 changes: 1 addition & 4 deletions _examples/http-client/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.23.0

require (
github.com/bytecodealliance/wasm-tools-go v0.2.1
go.wasmcloud.dev/component v0.0.0-20240926175945-14adda9179b6
go.wasmcloud.dev/component v0.0.3
)

require (
Expand All @@ -13,6 +13,3 @@ require (
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
golang.org/x/mod v0.21.0 // indirect
)

// TODO(lxf): remove this line once the module is published
replace go.wasmcloud.dev/component => ../..
2 changes: 2 additions & 0 deletions _examples/http-client/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ github.com/urfave/cli/v3 v3.0.0-alpha9 h1:P0RMy5fQm1AslQS+XCmy9UknDXctOmG/q/FZkU
github.com/urfave/cli/v3 v3.0.0-alpha9/go.mod h1:0kK/RUFHyh+yIKSfWxwheGndfnrvYSmYFVeKCh03ZUc=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
go.wasmcloud.dev/component v0.0.3 h1:uC45sgRpV8zTC7BMs7/BMBKKzWmj5OW+vYDcdnijD0U=
go.wasmcloud.dev/component v0.0.3/go.mod h1:OIHhTDo0O6T2GZ2E5oiJiZeT15zBm0OUBCRSdtUdo24=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
Expand Down
5 changes: 1 addition & 4 deletions _examples/http-server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.23.0
require (
github.com/bytecodealliance/wasm-tools-go v0.2.1
github.com/stretchr/testify v1.9.0
go.wasmcloud.dev/component v0.0.0-20240926162413-717d12d37e0f
go.wasmcloud.dev/component v0.0.3
go.wasmcloud.dev/wadge v0.6.0
)

Expand All @@ -23,6 +23,3 @@ require (
golang.org/x/tools v0.25.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

// TODO(lxf): remove this line once the module is published
replace go.wasmcloud.dev/component => ../..
2 changes: 2 additions & 0 deletions _examples/http-server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ github.com/urfave/cli/v3 v3.0.0-alpha9 h1:P0RMy5fQm1AslQS+XCmy9UknDXctOmG/q/FZkU
github.com/urfave/cli/v3 v3.0.0-alpha9/go.mod h1:0kK/RUFHyh+yIKSfWxwheGndfnrvYSmYFVeKCh03ZUc=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
go.wasmcloud.dev/component v0.0.3 h1:uC45sgRpV8zTC7BMs7/BMBKKzWmj5OW+vYDcdnijD0U=
go.wasmcloud.dev/component v0.0.3/go.mod h1:OIHhTDo0O6T2GZ2E5oiJiZeT15zBm0OUBCRSdtUdo24=
go.wasmcloud.dev/wadge v0.6.0 h1:wHcnXZhxJ9eVzp/38eyo2oc6bkS2qNS5a4FrBUCFIPE=
go.wasmcloud.dev/wadge v0.6.0/go.mod h1:BkAxt9wF08UWbRYblfxbTtupn0rQLtsgTKeu22SBGRg=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
Expand Down
5 changes: 1 addition & 4 deletions _examples/invoke/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.23.0
require (
github.com/bytecodealliance/wasm-tools-go v0.2.1
github.com/stretchr/testify v1.9.0
go.wasmcloud.dev/component v0.0.0-20240910182305-2785f866ff0f
go.wasmcloud.dev/component v0.0.3
go.wasmcloud.dev/wadge v0.6.0
)

Expand All @@ -23,6 +23,3 @@ require (
golang.org/x/tools v0.25.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

// TODO(lxf): remove this line once the module is published
replace go.wasmcloud.dev/component => ../..
2 changes: 2 additions & 0 deletions _examples/invoke/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ github.com/urfave/cli/v3 v3.0.0-alpha9 h1:P0RMy5fQm1AslQS+XCmy9UknDXctOmG/q/FZkU
github.com/urfave/cli/v3 v3.0.0-alpha9/go.mod h1:0kK/RUFHyh+yIKSfWxwheGndfnrvYSmYFVeKCh03ZUc=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
go.wasmcloud.dev/component v0.0.3 h1:uC45sgRpV8zTC7BMs7/BMBKKzWmj5OW+vYDcdnijD0U=
go.wasmcloud.dev/component v0.0.3/go.mod h1:OIHhTDo0O6T2GZ2E5oiJiZeT15zBm0OUBCRSdtUdo24=
go.wasmcloud.dev/wadge v0.6.0 h1:wHcnXZhxJ9eVzp/38eyo2oc6bkS2qNS5a4FrBUCFIPE=
go.wasmcloud.dev/wadge v0.6.0/go.mod h1:BkAxt9wF08UWbRYblfxbTtupn0rQLtsgTKeu22SBGRg=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
Expand Down

0 comments on commit aabd2a5

Please sign in to comment.