-
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…
-
Config:
```yaml
linters:
disable-all: true
enable:
- goimports
- gci
fast: false
linters-settings:
goimports:
local-prefixes: istio.io/
```
Input:
```go
package main
…
-
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…
-
https://lllovol.com/p/2021/12/awk-tool-analysis/
背景 使用awk快速统计查看自己的常用命令
指令 history --i | awk '{print $4}' | sort | uniq -c | sort -k1,1nr | head -20 解析 history -i 查看所有的历史记录 awk '{print $4}' 使用awk分词…
ymkNK updated
2 years ago