【文件属性】:
文件名称:go-expand-tilde:在路径中展开波浪号
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-15 18:10:18
Go
在路径中展开 ~
go get gopkg.in/mattes/go-expand-tilde.v1
import (
"gopkg.in/mattes/go-expand-tilde.v1"
)
func main () {
path , err := tilde . Expand ( "~/path/to/whatever" )
}
【文件预览】:
go-expand-tilde-1
----.travis.yml(41B)
----tilde_test.go(584B)
----README.md(452B)
----tilde.go(640B)