golang-github-mitchellh-go-homedir 1.1.0-1 source package in Ubuntu
Changelog
golang-github-mitchellh-go-homedir (1.1.0-1) unstable; urgency=medium * New upstream version 1.1.0 * Add debian/watch to track upstream tarball * Apply "cme fix dpkg" fixes - Update debhelper dependency to "Build-Depends: debhelper-compat (= 12)" - Bump Standards-Version to 4.4.0 (no change) -- Anthony Fok <email address hidden> Sun, 11 Aug 2019 01:46:19 -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
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
golang-github-mitchellh-go-homedir_1.1.0-1.dsc | 2.3 KiB | 7e5a7b76fb93565c2b41339ba60c8cb3806159cad4ac763ee96d47e04224ae90 |
golang-github-mitchellh-go-homedir_1.1.0.orig.tar.gz | 3.3 KiB | 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600 |
golang-github-mitchellh-go-homedir_1.1.0-1.debian.tar.xz | 3.1 KiB | 1e2de2fc0b2ee1d9436b579abd1f80e7008c3611a890a7e2fc001a9b1457dda8 |
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.