goversioninfo
goversioninfo copied to clipboard
Moved the core logic into a separate function for possibility use as a library
If you allow, I want to use your project not as a separate binary, but as a library. So I moved all the logic from the main function to a separate Cmd() function.