Made it possible to choose where to save.
This commit is contained in:
10
src/helper/helper.go
Normal file
10
src/helper/helper.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package helper
|
||||
|
||||
import "runtime"
|
||||
|
||||
func PathSeparator() string {
|
||||
if runtime.GOOS == "windows" {
|
||||
return "\\"
|
||||
}
|
||||
return "/"
|
||||
}
|
Reference in New Issue
Block a user