RAJESH DASARI
unread,Apr 3, 2023, 8:17:04 AM4/3/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi ,
We are vendoring the depenedencies and building our module with go build -mod=vendor . We have one module under /usr/share/gocode/src path , could you please suggest how we can import from this path in vendor mode.
I tried exporting GOPATH to /usr/share/gocode/src , it didnot work. I tried copying the /usr/share/gocode/src to /usr/lib/golang/src/ path , it worked for us but not sure whether it is the correction solution, please suggest how i can import from /usr/share/gocode/src.
Regards,
Rajesh.