FusionAuth / fusionauth-client-builder

The FusionAuth client library builder
https://fusionauth.io/
Apache License 2.0
6 stars 24 forks source link

go-client: run `go fmt` after code generation. #28

Closed matthewhartstonge closed 3 years ago

matthewhartstonge commented 3 years ago

Hey team,

As a nice to have, it would be great to conform to standard Go code formatting by running go fmt on both files after generation 😄

Makes it more uniform when reading/reviewing Go code 👍

For example: image

Becomes: image

(I would imagine this to be a similar thing with dart and dart format)

robotdan commented 3 years ago

Thanks @matthewhartstonge - was thinking we were doing that.. if not we'll add it.

https://github.com/FusionAuth/go-client/commit/bea924bc7470e1bf5084613d463660aea975d8b3 https://github.com/FusionAuth/fusionauth-dart-client/commit/7a943126ad3d56903af7bc3d82b058684c99041e