-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task for go-mod-upgrade
Go module command
#95
Milestone
Comments
svengreb
added a commit
that referenced
this issue
Apr 28, 2021
The github.com/oligot/go-mod-upgrade [1] Go module provides the `go-mod-upgrade` command, a tool that to update outdated Go module dependencies interactively. To configure and run the `go-mod-upgrade` command, the new `task.GoModule` [2] has been implemented in the new `gomodupgrade` [3] package. It can be run using a command runner [4] that handles tasks of kind `KindGoModule` [5]. The task is customizable through the following functions: - `WithEnv(map[string]string) gomodupgrade.Option` - sets the task specific environment. - `WithExtraArgs(...string) gomodupgrade.Option` - sets additional arguments to pass to the command. - `WithModulePath(string) gomodupgrade.Option` - sets the module import path. - `WithModuleVersion(*semver.Version) gomodupgrade.Option` - sets the module version. The `Elder` [6] reference implementation provides the new `GoModUpgrade` method [7]. [1]: https://github.com/oligot/go-mod-upgrade [2]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#GoModule [3]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task/gofumpt [4]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#Runner [5]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#KindGoModule [6]: https://pkg.go.dev/github.com/svengreb/wand/pkg/elder [7]: https://pkg.go.dev/github.com/svengreb/wand/pkg/elder#Elder.GoModUpgrade GH-95
svengreb
added a commit
that referenced
this issue
Apr 28, 2021
The github.com/oligot/go-mod-upgrade [1] Go module provides the `go-mod-upgrade` command, a tool that to update outdated Go module dependencies interactively. To configure and run the `go-mod-upgrade` command, the new `task.GoModule` [2] has been implemented in the new `gomodupgrade` [3] package. It can be run using a command runner [4] that handles tasks of kind `KindGoModule` [5]. The task is customizable through the following functions: - `WithEnv(map[string]string) gomodupgrade.Option` - sets the task specific environment. - `WithExtraArgs(...string) gomodupgrade.Option` - sets additional arguments to pass to the command. - `WithModulePath(string) gomodupgrade.Option` - sets the module import path. - `WithModuleVersion(*semver.Version) gomodupgrade.Option` - sets the module version. The `Elder` [6] reference implementation provides the new `GoModUpgrade` method [7]. [1]: https://github.com/oligot/go-mod-upgrade [2]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#GoModule [3]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task/gofumpt [4]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#Runner [5]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#KindGoModule [6]: https://pkg.go.dev/github.com/svengreb/wand/pkg/elder [7]: https://pkg.go.dev/github.com/svengreb/wand/pkg/elder#Elder.GoModUpgrade Resolves GH-95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The github.com/oligot/go-mod-upgrade Go module provides the
go-mod-upgrade
command, a too to update outdated Go module dependencies interactively.To configure and run the
go-mod-upgrade
command, a newtask.GoModule
will be implemented in a newgomodupgrade
package. It can be be run using a command runner that handles tasks of kindKindGoModule
.The task will be customizable through the following functions:
WithEnv(map[string]string) gomodupgrade.Option
— sets the task specific environment.WithExtraArgs(...string) gomodupgrade.Option
— sets additional arguments to pass to the command.WithModulePath(string) gomodupgrade.Option
— sets the module import path.WithModuleVersion(*semver.Version) gomodupgrade.Option
— sets the module version.The
Elder
reference implementation will provide a newGoModUpgrade
method.The text was updated successfully, but these errors were encountered: