go-mod-upgrade (go-mod-upgrade)

May 30, 2026 ยท View on GitHub

upgrade outdated Go dependencies interactively.

Example Usage

"features": {
    "ghcr.io/thediveo/devcontainer-features/go-mod-upgrade:1": {}
}

Options

Options IdDescriptionTypeDefault Value
versionversion of go-mod-upgrade to installstringlatest

Feature Dependency

This feature has only a soft dependecy on ghcr.io/devcontainers/features/go so that you have full control over from where and how you bring in the go toolchain.

For example:

{
    "features": {
        "ghcr.io/devcontainers/features/go:1": {},
        "ghcr.io/thediveo/devcontainer-features/go-mod-upgrade:1": {}
    }
}

go-mod-upgrade Command

Please refer to the upstream repository @oligot/go-mod-upgrade for documentation.

OS Support

Tested only with mcr.microsoft.com/devcontainers/base:ubuntu.


Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.