The os.Path class / os.Path methods |
Returns the character used to separate path segments.
os.Path.separator() RETURNING result STRING
Use this method to build a path from two components.
On UNIX™, the directory separator is '/'.
On Windows™, the directory separator is '\'.