golang-github-mitchellh-go-homedir 0.0~git20161203.0.b8bc1bf-1 source package in Ubuntu
Changelog
golang-github-mitchellh-go-homedir (0.0~git20161203.0.b8bc1bf-1) unstable; urgency=medium * New upstream snapshot * Use debhelper (>= 10) * Bump Standards-Version to 4.0.0: Use https form of the copyright-format URL in debian/copyright * Add "Testsuite: autopkgtest-pkg-go" to debian/control * Build-Depends on golang-any instead of golang-go * Add myself to the list of Uploaders -- Anthony Fok <email address hidden> Fri, 21 Jul 2017 23:09:33 -0600
Upload details
- Uploaded by:
- Debian Go Packaging Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Go Packaging Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Bionic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
golang-github-mitchellh-go-homedir_0.0~git20161203.0.b8bc1bf-1.dsc | 2.5 KiB | d0abd06d5d797f4c73a38aee1a4bc1918a12e02600b1a1626b57230568d6f8dc |
golang-github-mitchellh-go-homedir_0.0~git20161203.0.b8bc1bf.orig.tar.xz | 2.8 KiB | d778866f5214f91b8f57a120bb82fd281fc6e9e10d3063914fcf06a14c2cc490 |
golang-github-mitchellh-go-homedir_0.0~git20161203.0.b8bc1bf-1.debian.tar.xz | 2.3 KiB | a583c57cbf049b51183b8d6a3d7cc3dc563b06ca84ca00c674ac11521b44a6c8 |
Available diffs
No changes file available.
Binary packages built by this source
- golang-github-mitchellh-go-homedir-dev: Go library for detecting and expanding the user's home directory
This is a Go library for detecting the user's home directory without the use of
cgo, so the library can be used in cross-compilation environments.
.
Usage is incredibly simple, just call homedir.Dir() to get the home directory
for a user, and homedir.Expand() to expand the ~ in a path to the home
directory.
.
Why not just use os/user? The built-in os/user package requires cgo on Darwin
systems. This means that any Go code that uses that package cannot cross
compile. But 99% of the time the use for os/user is just to retrieve the home
directory, which we can do for the current user without cgo. This library does
that, enabling cross-compilation.