astefanutti commented on pull request #2461:
URL: https://github.com/apache/camel-k/pull/2461#issuecomment-885482908
@vsokolov00 when I run for example `go fmt ./e2e/support` locally I get:
```go
func GetOutputStringAsync(cmd *cobra.Command) func() string {
var buffer bytes.Buffer
stdout := bufio.NewWriter(&buffer)
cmd.SetOut(stdout)
go cmd.Execute()
return func() string {
return buffer.String()
}
}
```
compared to:
```go
func GetOutputStringAsync(cmd *cobra.Command) func () string {
var buffer bytes.Buffer
stdout := bufio.NewWriter(&buffer)
cmd.SetOut(stdout)
go cmd.Execute()
return func () string{
return buffer.String()
}
}
```
I think `go fmt` takes packages as input rather than individual files.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]