9 lines
201 B
Go
9 lines
201 B
Go
|
package util
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
// DotPathToStandardPath 将","分割的路径转换为标准路径
|
||
|
func DotPathToStandardPath(path string) string {
|
||
|
return "/" + strings.Replace(path, ",", "/", -1)
|
||
|
}
|