go icon indicating copy to clipboard operation
go copied to clipboard

The Go programming language

Results 868 go issues
Sort by recently updated
recently updated
newest added

when I move go file between folders I want VSCode to automatically update package name and imports in go files that reference file being moved. Like it happens in Intellij...

FeatureRequest
gopls
Tools
Refactoring

The LSP typeDefinition query reports the location of the definition of a type. Currently, it requires a symbol, whose type it computes, and from which it then tries to pick...

help wanted
FeatureRequest
gopls
Tools

### Go version go version devel go1.23-5e1e3a0025 Thu Mar 21 17:25:54 2024 +0000 linux/amd64 ### What did you do? Run this testscript script: ``` exec go generate ./... -- go.mod...

help wanted
NeedsInvestigation
Tools

### Go version go version devel go1.23-8496060870 2024-03-19 07:29:47 +0000 linux/amd64 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/home/mvdan/.cache/go-build' GOENV='/home/mvdan/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux'...

NeedsInvestigation

The titles of the commands returned by the [fillstruct](https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/fillstruct) code action use unqualified type names; they should be qualified: for example instead of "Add cases for Addr", show "Add cases...

gopls
Tools

The fillstruct code action looks for declarations in the current file, before the current point, as candidates for the initializers of each missing field. That seems doubly arbitrary: package-level declarations...

gopls
Tools

It is unnecessary that gopls creates two HTTP servers, one for debugging and one for the "product" (as used by the doc, assembly, and free-symbols code actions). We should combine...

gopls
Tools

### What version of Go are you using (`go version`)? 8edcdddb23c6d3f786b465c43b49e8d9a0015082 ### Does this issue reproduce with the latest release? yes ### What did you do? ```golang logger := slog.New(slog.NewJSONHandler(os.Stdout))...

NeedsInvestigation

Currently, the methods of a interface are not linkable because `Package.Parser` does not collect them up. Thus, if you put a declaration like `[Reader.Read]` within the `io` package, the `pkgsite`...

Documentation
NeedsDecision

### What version of Go are you using (`go version`)? $ go version go version go1.20.4 linux/amd64 ### Does this issue reproduce with the latest release? Yes ### What operating...

NeedsInvestigation
compiler/runtime