Closed drewwells closed 9 months ago
Before I jump into the changes, it would be nice to find a way to enforce gofmt. Ideally it would be in a separated workflow. But also being able to run it before commit would be a good thing.
Maybe making a Makefile ? It could also setup a pre-commit script, but I'm not very knowledgeable on this part. This could end up in a dedicated issue though.
Before I jump into the changes, it would be nice to find a way to enforce gofmt. Ideally it would be in a separated workflow. But also being able to run it before commit would be a good thing.
Maybe making a Makefile ? It could also setup a pre-commit script, but I'm not very knowledgeable on this part. This could end up in a dedicated issue though.
I agree, the workflow should be turned into a makefile.
as far as enforcing go fmt
, the code I add would do this. Most people configure their ide to use go fmt
.
Used
gofmt
to renamessh3
togithub.com/francoismichel/ssh3
. The code hasn't been formatted so this resulted in a lot of whitespace changes.