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

Skip to content

Conversation

@owenwaller
Copy link

Upgrade dependencies

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

then patch rgen_test.go so that it calls go mod to download vugu

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.

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.
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