A standard difficulty I encounter whereas writing a Go library is managing multi-platform assist. The primary libraries I constructed had horrible cross-platform compatibility. Nonetheless, this was a results of some dangerous code. For instance, I joined file path strings with the +
operator. This resulted in some performance not working altogether. I did handle to repair the difficulty although. I imported bundle file/filepath
, which already helps a number of OS environments, to right the difficulty. On this submit, I’ll try to put in writing a library. This library will verify to see if a sure program is put in. I selected this drawback as Home windows and Unix-based working methods place packages in numerous file areas.