0
I’m new to go(golang) I’m trying to start an application but without success, it returns me the following error when giving the go install command:
unexpected directory layout:
import path: github.com/gorilla/handlers
root: D:\BitBucketERN\GO\src
dir: D:\BitBucketERN\GO\src\bitbucket.com\ernetworkdev\ern-admin-cadastro-api\vendor\github.com\gorilla\handlers
expand root: D:\BitBucketERN\GO\src
expand dir: D:\BitBucketERN\GO\src\bitbucket.com\ernetworkdev\ern-admin-cadastro-api\vendor\github.com\gorilla\handlers
separator: \
my version :
go1.10 windows/amd64
didn’t work out...
– Gabriel Souza
What is the file structure?
– Adriano Martins
the GOPATH "D: Bitbucketern GO" and GORROT "D: GO" and the structure of the "D: Bitbucketern GO src bitbucket.com ernetworkdev ern-admin-cadastro-api project"
– Gabriel Souza
try to add copy the
github.com/gorilla/handlers
forD:\BitBucketERN\GO\src\github.com\gorilla\handlers
– Adriano Martins
was already copied in this directory
– Gabriel Souza
Try copying to
D:\BitBucketERN\GO\src\bitbucket.com\ernetworkdev\ern-admin-cadastro-api\vendor\github.com\gorilla\handlers
then. This error is directly related to the location of the files, you just need to find the right configuration. Fountain– Adriano Martins