Upstream doesn’t prescribe a GOPATH, so I don’t think Debian should either. It’d be a shame if Go behaved differently depending on which Linux distribution one uses.
If you’d like to see this changed, please lobby upstream :). On Thu, Aug 4, 2016 at 10:19 PM, Dale Harris <rod...@gmail.com> wrote: > Package: golang-go > Version: 2:1.6.1+1 > Severity: minor > > This is more a question than a bug report. I'm wondering why there isn't > some reasonable default environment, like for $GOPATH, set up in > /etc/profile.d/ for Go? Just seems like that should be part of the > package. > > > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages golang-go depends on: > ii golang-1.6-go 1.6.3-1 > ii golang-src 2:1.6.1+1 > > golang-go recommends no packages. > > golang-go suggests no packages. > > -- no debconf information > > -- > Dale Harris > rod...@maybe.org > rod...@gmail.com > /.-) > > -- Best regards, Michael