Closed harry97uk closed 1 week ago
Well written and thank you for following the style of the repo!
Looks like the pre-commit failed you may have to run:
go fmt ./...
If you can clean these up will get this merged.
Thank you again.
Yes I will take a look later on tonight or tomorrow, thanks for the heads up
I have added an OutputFormat type in a separate file within the config pkg. I have also added a couple of new unit tests to validate that the type is working as intended.
I set the default for the printer type as TEXT and removed code that did the printer type validation in config.go
I did not change anything in the printer pkg as I wanted to keep this PR small.