-
### Feature Description
[`gofumpt`](https://pkg.go.dev/mvdan.cc/gofumpt) is becoming the de-facto due to it's integration with [`gopls`](https://pkg.go.dev/golang.org/x/tools/gopls). `gofumpt` has …
-
go version devel +ac05542 Wed Jan 11 01:39:54 2017 +0000 linux/amd64
gofmt -r does not work well when rewriting multi-line expressions.
Given this code:
package x
func f() {
Foo{
…
-
We require a GitHub workflow to perform linting checks on Go code pushed by contributors.
-
Ко всему коду стоило бы применить gofmt/goimports, а то что-то везде по-разному написано
ghost updated
4 years ago
-
On playground (and elsewhere), [this code](http://play.golang.org/p/0kv0J7re1b)
``` go
package main
func main() {
for i := 0; i < 1 /* 9000 */ ; i++ {
_ = i
}
}
```
…
-
https://golang.org/doc/install
-
```
Updating 'go' (1.22.3 -> 1.22.4)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid |stat|avg speed |path/URI
Download: ======+====+=======…
-
by **borman@google.com**:
What steps will reproduce the problem?
Use /* */ for block comments. Example:
func f() {
/*
* don't do this right now
fmt.Printf(`a
multi-line
st…
-
Hi,
I noticed today that gofmt (on the Playground at least) reformats `/* */` comments that are inlined in argument lists inconsistently and in a non-faithful manner to their original ordering in the…
-
```
Traceback (most recent call last):
File "/Users/gur/Library/Application Support/Sublime Text/Installed Packages/Gofmt.sublime-package/gofmt.py", line 257, in run_formatter
formatter = Formatter…