-
For reference:
perlimports: https://metacpan.org/dist/App-perlimports
video about it: https://youtu.be/fKqxdTbGxYY
One thing I really like about programming in Go is that gopls can be configured …
-
There is no way to pass argument to the goimports linter. Previously this could be done with something like:
```
"fmt_cmd": ["goimports", "-srcdir", "$_dir", "-local", "github.com/gz-c/foo"],
``…
-
### What version of Go are you using (`go version`)?
1.14
### Does this issue reproduce with the latest release?
Yes
### What operating system and processor architecture are you using (`go e…
-
This issue is related to #20818 (but is much more specific/limited). It's also similar to this issue I previously filed: #19190.
### Background
This is a longstanding issue we've faced at my com…
-
### Welcome
- [X] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
- [X] Yes, I've searched similar issues on GitHub and didn't find any.
- […
caevv updated
1 month ago
-
I'm working on a tool to fix up non-conventional or incorrect imports grouping/ordering, but I'd much rather have this be part of goimports. Would it be welcome?
### What goimports does now
When…
-
On go 1.12
Reproducible repo at https://github.com/nhooyr/gomod
I'm importing a main package as a side effect import which is an error. I'm aware this is wrong, but the error message should be c…
-
This is partly a question, but I'm also partly raising a UX issue. I've been using `goimports` as it can be _really_ convenient. However, if I save a file that happens to have a weird identifier or so…
-
Config:
```yaml
linters:
disable-all: true
enable:
- goimports
- gci
fast: false
linters-settings:
goimports:
local-prefixes: istio.io/
```
Input:
```go
package main
…
-
Reminder issue, following up on #63641: it appears that gopls was not finding the new slices package in `GOROOT` until the `ztdlib.go` index was updated. But according to @heschi this index is meant t…