-
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…
-
the project is not gofmt'd which makes it tricky to work with the codebase if you use format-on-save with your editor. It would be nice if the project was gofmt'd.
I'd be happy to submit a PR for t…
-
**What version of Go are you using (go version)?** `go version go1.4.2 linux/amd64`
**What operating system and processor architecture are you using?** Ubuntu 14.04
**What did you do?** Run `gofmt` on…
-
It would be great to have the ability to pass gofmt options such as `-s` etc. Looking at https://golang.org/src/cmd/gofmt/ not sure what the best approach would be here. I see goimports-reviser is cur…
-
Getting a `ERROR: Failed to run gofmt on '/var/folders/zl/tg8fcj7n25v2kyw1sdmn_wxc0000gp/T/withmock004231577/path/src/github.com/go-chi/chi/chi_ifmocks.go': exit status 2
output:
/var/folders/zl/tg8…
-
I just wanted to open a ticket to get a conversation started on this concept.
Example, if i goofed and wrote:
``` js
if typeof word === function {
console.log("cool")
}
```
could it fix that by w…
-
Many Golang project use `gofmt` to consistently format their Go code. And, it's not uncommon to setup your editor to automatically run `gofmt` when saving changes to a file. Perhaps we should consider…
-
A totally reasonable super great two spaces for indentation are used in autogenerated code, so we have to run our code through gofmt before we check in our radically generated schemas.
This is a…
-
Generated code doesn't pass gofmt.
-
### Component(s)
cmd/mdatagen
### Describe the issue you're reporting
See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/30425#discussion_r1449111824 and https://githu…