9 lines
143 B
Go
9 lines
143 B
Go
package fs
|
|
|
|
import "path/filepath"
|
|
|
|
const sep = "/"
|
|
|
|
func Clean(path string) string {
|
|
return filepath.FromSlash(filepath.Clean(sep + path))
|
|
}
|