Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Installing go plus creates a "github.com" folder within my source code folder, how do I specify a different location for all of that? #981

Open
BjarkeCK opened this issue Jan 23, 2020 · 1 comment

Comments

@BjarkeCK
Copy link

BjarkeCK commented Jan 23, 2020

What's up with all of these files? Is it normal for it to install those right in the src directory of my project? And is there anyway to make it install go packages outside of my project? Preferably where I also installed go.

image

Output from atom -v && apm -v

Atom    : 1.43.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
AssignProcessToJobObject: (87) The parameter is incorrect.

Output From go env

set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\bjark\AppData\Local\go-build
set GOENV=C:\Users\bjark\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Projects\********\zone
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\bjark\AppData\Local\Temp\go-build548160234=/tmp/go-build -gno-record-gcc-switches

Steps to Reproduce

  1. Install go-plus
@zmb3
Copy link
Collaborator

zmb3 commented Jan 23, 2020

Those are the tools go-plus uses to provide various editing features. They are installed in your $GOPATH, which defaults to ~/go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants