python os.path.expanduser equivalent in golang
go get -u github.com/loynoir/ExpandUser.go
package main
import (
"fmt"
"github.com/loynoir/ExpandUser.go"
)
func main() {
x, _ := ExpandUser.ExpandUser("~/~/foo/bar/")
fmt.Println(x)
}