✨ ftp support
This commit is contained in:
@ -113,4 +113,12 @@ func Base(path string) string {
|
||||
return path
|
||||
}
|
||||
return path[idx+1:]
|
||||
}
|
||||
|
||||
func Join(elem ...string) string {
|
||||
res := filepath.Join(elem...)
|
||||
if res == "\\" {
|
||||
res = "/"
|
||||
}
|
||||
return res
|
||||
}
|
Reference in New Issue
Block a user