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

Fix formatting in projutil.go #266

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions tests/e2e/framework/projutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,12 @@ func (opts GoCmdOptions) setCmdFields(c *exec.Cmd) {
}

// From https://github.com/golang/go/wiki/Modules:
// You can activate module support in one of two ways:
// - Invoke the go command in a directory with a valid go.mod file in the
// current directory or any parent of it and the environment variable
// GO111MODULE unset (or explicitly set to auto).
// - Invoke the go command with GO111MODULE=on environment variable set.
//
// You can activate module support in one of two ways:
// - Invoke the go command in a directory with a valid go.mod file in the
// current directory or any parent of it and the environment variable
// GO111MODULE unset (or explicitly set to auto).
// - Invoke the go command with GO111MODULE=on environment variable set.
//
// GoModOn returns true if Go modules are on in one of the above two ways.
func GoModOn() (bool, error) {
Expand Down