Code refactoring.
Added files with functions for various OS (//go:build windows, //go:build !windows).
This commit is contained in:
8
src/helper/path_separator.go
Normal file
8
src/helper/path_separator.go
Normal file
@@ -0,0 +1,8 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package helper
|
||||
|
||||
func PathSeparator() string {
|
||||
return "/"
|
||||
}
|
Reference in New Issue
Block a user