-
- [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.
- [ ] Yes, I've …
-
[gofmt](https://golang.org/cmd/gofmt/) offers a `-s` parameter for simplifying code, which is quite nice. I think goreturns should add this parameter as well since it promises to support a superset of…
-
Lately, my setup which is exactly like described in https://github.com/ray-x/go.nvim?tab=readme-ov-file#run-gofmt--goimport-on-save stopped working.
It still organizes imports, but is not doing any…
-
### What version of Go are you using (`go version`)?
$ go version
go1.15.6 linux/amd64
### Does this issue reproduce with the latest release?
### What operating system and processor …
-
We have recently added Go 1.17+ go:build tags to runc (see https://github.com/opencontainers/runc/pull/3185/commits/d8da00355e305f0564a9de6854bf5df1aa4b73d9) and that resulted in goreportcard giving w…
-
**Problem:**
`define.go` has a syntax error and other errors described in the Appendix. Temporarily, for testing purposes, I manually fixed all the errors, and `zkevm-monorepo/prover`'s `make test`…
-
Go has a very useful automatic formatting with the builtin gofmt tool.
Either an explicit button/shortcut or an on-save hook would be good.
goimports is also very easy to use, but it would be bette…
mkmik updated
9 years ago
-
Hello, I'm coming here from https://github.com/twitchtv/twirp/pull/114
The rules of gofmt [changed in Go 1.10](https://golang.org/doc/go1.10#gofmt) and may well change again. The robot should accom…
rhysh updated
6 years ago
-
Prompted by discussion in https://github.com/k0sproject/k0s/pull/3406#pullrequestreview-1617279953
We have few structs which uses `Context` in structs which is bit of a bad pattern.
Essentially …
-
It's not uncommon to run an old gofmt that may not be up-to-date with the latest syntactic changes (most recently, alias type declarations). There may be future (Go 2) changes where this becomes more …