Web lists-archives.com

ITP: golang-github-mitchellh-go-homedir -- detect the user's home directory without cgo




Package: wnpp
Severity: wishlist
Owner: Michael Lustfield <michael@xxxxxxxxxxxxx>

* Package name    : golang-github-mitchellh-go-homedir
  Version         : 0.0~git20161203.0.b8bc1bf-1
  Upstream Author : 2013 Mitchell Hashimoto
* URL             : https://github.com/mitchellh/go-homedir
* License         : Expat
  Programming Lang: Go
  Description     : detect the user's home directory without cgo

 This golang library implements methods for detecting the user's home directory
 without the use of cgo, so the library can be used in cross-compilation
 environments.
 .
 Usage:
 - homedir.Dir()
   + get the home directory for a user
 - homedir.Expand()
   + expand the ~ in a path to the home directory

This is being packaged as a new dependency of golang-github-spf13-cobra,
which is being packaged as a dependency of gitea.