-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize the report to be html using go templates #123
Comments
Yes, definitely. I wrote the package in such a way that it would be possible to just use the difference detection part as a library. Besides Main entry point is: |
Thanks @HeavyWombat. I already looked at the tests and they give me a clue about how to use it as a library. I think I have no problem with that at all. Could you please only let me know how can I customize the report to be an html table instead?, I can be working on a fork and submit a PR if that works for you. |
@jlunaq Apologies for the late reply. I am busy at the moment with a lot of things. If you do not mind, I would like to keep it open. My idea would be another reporter type, one that is using Go templates to create the report output. This way it would be generic enough to create HTML, or JSON, or Markdown style reports. However, I cannot really say when I find time for an implementation. PRs are always welcome, too. |
No worries. I thought I required that feature, but my team told me it wasn't really needed. However, if I plan to implement it in the future, I will let you know. Please keep this open |
I want to create a go script for detecting differences between yaml configurations and creating a html table with the results. Example:
The text was updated successfully, but these errors were encountered: