The os.Path class / os.Path methods |
Returns the character used in environment variables to separate path elements.
os.Path.pathSeparator() RETURNING result STRING
You typically use this method to build a path from two components.
On UNIX™, the path separator is ':'.
On Windows™, the path separator is ';'.