The current lint results are assembled using builder pattern functions, but this method has a lot of duplicate code and becomes unnecessarily complex when trying to insert new formatting components.
Therefore, it seems necessary to improve the formatting approach by using a package like text/template.
Description
The current lint results are assembled using builder pattern functions, but this method has a lot of duplicate code and becomes unnecessarily complex when trying to insert new formatting components.
Therefore, it seems necessary to improve the formatting approach by using a package like
text/template
.