11 lines
148 B
Go
11 lines
148 B
Go
|
package fs
|
||
|
|
||
|
import (
|
||
|
"path/filepath"
|
||
|
"strings"
|
||
|
)
|
||
|
|
||
|
func stripSlash(fn string) string {
|
||
|
return strings.TrimRight(fn, string(filepath.Separator))
|
||
|
}
|