Skip to content

loynoir/ExpandUser.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpandUser.go

python os.path.expanduser equivalent in golang

Install

go get -u github.com/loynoir/ExpandUser.go

Example

package main

import (
    "fmt"
    "github.com/loynoir/ExpandUser.go"
)

func main() {
    x, _ := ExpandUser.ExpandUser("~/~/foo/bar/")
    fmt.Println(x)
}

About

python os.path.expanduser equivalent in golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages