Skip to content
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

Add missing argument to go mod init #338

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rodrigc
Copy link

@rodrigc rodrigc commented Nov 25, 2024

What was changed

Why?

Without this change, just typeing go mod init without an argument will give an error such as:

go: cannot determine module path for source directory /tmp/dumbo (outside GOPATH, module path must be specified)

Example usage:
	'go mod init example.com/m' to initialize a v0 or v1 module
	'go mod init example.com/m/v2' to initialize a v2 module

Run 'go help mod init' for more information.

Checklist

  1. How was this tested:

Followed the tutorial steps from the beginning using go version 1.23.
Also checked, every other usage of go mod init in this repository has an argument.

  1. Any docs updates needed?

No

@rodrigc rodrigc requested a review from a team as a code owner November 25, 2024 18:05
Copy link

vercel bot commented Nov 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
temporal-learning ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 6:06pm

@CLAassistant
Copy link

CLAassistant commented Nov 25, 2024

CLA assistant check
All committers have signed the CLA.

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.

2 participants