-
# current
The goimports will retain blank lines and multiple groups will exist after formatting.
testdata in.go:
```go
import (
"fmt"
"github.com/foo/a"
"github.com/foo/b"
"go.pk…
-
vim-go executes goimports like:
```
goimports -w -srcdir demo.go /tmp/36.go
```
and it works even if /tmp/ contains other .go files.
goreturns instead tries to parse the other files, as if th…
mkmik updated
6 years ago
-
**Describe the problem/challenge you have**
Velero is composed of various repositories, for example:
- https://github.com/vmware-tanzu/velero
- https://github.com/vmware-tanzu/velero-plugin-for-aws…
-
Go에는 `goimports` 라고 자동으로 포멧팅(임포트 순서, 띄어쓰기 등)을 수행해주는 기본 도구가 있는데요, 코드 작성시 이걸 사용하는게 어떤지요? 이유는 다음과 같습니다.
* merge 시 임포트 순서 같은 사소한 포멧팅 이슈로 인한 충돌 발생 방지
* Visual Studio Code, Atom, GoLand 같은 다양한 개발 툴과 무관하…
-
As of X27.2.1, formatting of Go code on save no longer works when using traditional gofmt.
I have the option set to traditional gofmt, not goimports. If the option is set to use goimports for formatt…
-
Hi there,
I wanted to see whether you'd be interested in having support for `gofumports`. It's a `goimports` version of [gofumpt](https://github.com/mvdan/gofumpt), which means it also needs the `-…
-
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…
-
I am aware that FreeBSD is not officially supported to run temporal. Nevertheless, I was trying to build the latest version on FreeBSD 14.0-ALPHA4 amd64. Here is how far I got:
Install dependenci…
-
This is minor, but curious whether you'd take a patch to grant users of the library control over import grouping.
Some organizations (including my own) tend to group imports beyond stdlib/non-stdli…
-
### gopls version
```
$ gopls -v version
Build info
----------
golang.org/x/tools/gopls v0.10.1
golang.org/x/tools/gopls@v0.10.1 h1:JoHe17pdZ8Vsa24/GUO8iTVTKPh0EOBiWpPop7XJybI=
github…
aktau updated
4 months ago