Closed AuroreDupont closed 10 years ago
The following error is generated with a freshly created go script:
Running: /usr/local/go/bin/go install -v -gcflags -N -l ./... with GOPATH: /Users/aurore/Documents/Workspaces/goexp/goref:/Users/aurore/Coding/gotree go install: no install location for directory /Users/aurore/Documents/Workspaces/goexp/goref/src outside GOPATH ^^^ Terminated, exit code: 1 ^^^ \ Build terminated. **
You cannot have .go files directly under src. Just create a subdirectory of src and put the .go files there.
The following error is generated with a freshly created go script: