[go] Use go.mod to determine the golang version

Open
#1,772 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, go, shell

Research direction

Start by reading the Go feature's version option and its install scripts; the issue does not name specific files or tests. Check how the feature locates a go.mod and handles an unset or unsupported version. Done means a documented option can install the Go version specified by an available go.mod, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

We could add an option to the version option, like mod or module that determines the version from an available go.mod and installs the version set in that file.

I would also look into that myself if this would be an option.

Dominant language
Shell
Stars
1.6k
Forks
626
Avg merge
4d 10h
Merged PRs (30d)
7

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devcontainers/features

All issues in devcontainers/features

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.