Marker depends on fatih/color library to colorizing strings for terminal output. Encapsulating the colorizing behavior inside marker library to prevent multiple imports from user side can be beneficial.
I want to discuss the implementation details of this encapsulation and if its overkill and comes with restrictions along with it or not.
Marker depends on fatih/color library to colorizing strings for terminal output. Encapsulating the colorizing behavior inside marker library to prevent multiple imports from user side can be beneficial. I want to discuss the implementation details of this encapsulation and if its overkill and comes with restrictions along with it or not.