Made it possible to choose where to save.

This commit is contained in:
2024-01-18 20:23:23 +06:00
parent 5051c65ec6
commit ebc8832d4d
5 changed files with 99 additions and 30 deletions

10
src/helper/helper.go Normal file
View File

@@ -0,0 +1,10 @@
package helper
import "runtime"
func PathSeparator() string {
if runtime.GOOS == "windows" {
return "\\"
}
return "/"
}