Skip to content

x/tools/gopls: update unstable version installation instruction #46880

Open
@hyangah

Description

@hyangah

Neither works quietly. In favor of the experimental workspace module option, can we remove the use of replace?

~$ gotip get golang.org/x/tools/gopls@master golang.org/x/tools@master
go: downloading golang.org/x/tools/gopls v0.0.0-20210622191215-6d3e43932267
go: downloading golang.org/x/tools v0.1.4-0.20210622191215-6d3e43932267
go get: installing executables with 'go get' in module mode is deprecated.
	Use 'go install pkg@version' instead.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

~$ gotip install golang.org/x/tools/gopls@master golang.org/x/tools@master
go install: golang.org/x/tools/gopls@master (in golang.org/x/tools/[email protected]):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions