Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@owenwaller
Copy link

As per PR #354 on vugu
vugu/vugu#354

This commit makes a similar change to the vgrouter.

For GOOS=js and GOARCH=wasm targets the code builds against syscall/js and not github.com/vugu/vugu/js.

For all other targets github.com/vugu/vugu/js is still used.
All of the tests still pass.

Upgrades

Go 1.14 => 1.22.3
toolchain => go1.24.2 (new)
github.com/vugu/html (new)
github.com/vugu/xxhash (new)
github.com/davecgh/go-spew 1.1.0 => 1.1.1
github.com/pmezard/go-difflib 1.0.0 (new)
github.com/stretchr/testify 1.4.0 => 1.10.0
gopkg.in/yaml.v2 2.2.2 => gopkg.in/yaml.v3 3.0.1
The test TestFull in rgen_test.go dynamically creates a
go test file and a go.mod file in a tmp directory.

The test fails because the dependency github.com/vugu/[email protected]
is not available, but is required (after the dependency updates).

The test has been updated so that it now downloads
github.com/vugu/vugu@master - note it always uses the master branch
and then calls go mod tidy to update the go.mod and go.sum.

The test then passes.
As per PR 354 on vugu
vugu/vugu#354

This commit makes a similar change to the vgrouter.

For GOOS=js and GOARCH=wasm targets the code builds against syscall/js
and not github.com/vugu/vugu/js.

For all other targets github.com/vugu/vugu/js is still used.

All of the tests still pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant