That is exactly what I did to fix it. -- Thanks!

On Sunday, March 3, 2019 at 9:42:38 AM UTC-5, Louki Sumirniy wrote:
>
> That is a strange setting for GOBIN... Isn't that the folder `go install` 
> puts binaries? I always set it to ~/bin and  put that also in my path. I 
> like to use `go install` instead of `go build` because then I don't have to 
> remember not to let it slip through into a commit.
>
> On Sunday, 3 March 2019 15:29:28 UTC+1, Rich wrote:
>>
>> Thank you!! This worked for me. $GOPATH is set to ~/go, but when it was 
>> installing gocode it installed to /usr/local/go/bin instead of ~/go/bin -- 
>> this is because the $GOBIN variable is set to /usr/local/go/bin. 
>>
>> On Saturday, February 23, 2019 at 3:05:58 PM UTC-5, Joseph Pratt wrote:
>>>
>>> Rich, you should check where your GOPATH is pointing. My guess is that 
>>> VSCode is successfully installing the tool, but it's installing it in the 
>>> "wrong" place. I have my $GOPATH is set to "<somePath>\go" and my project 
>>> folder structure is "$GOPATH\src\myDomain.com\myProject\main.go" and when I 
>>> run VSCode I open the top-level $GOPATH folder. That way, I see all the 
>>> tools that the VSCode Go Extension recommends to installation go in the 
>>> "$GOPATH\go\src\github.com\.." and the "$GOPATH\go\golang.org.." in the 
>>> folder explorer side-bar (screenshot attached). Hope that helps!
>>>
>>> On Friday, February 22, 2019 at 12:03:59 AM UTC-5, Rich wrote:
>>>>
>>>> Yeah. When I install the tool, it always gives me a success.  When I 
>>>> selected all of them it also gave me a success.
>>>>
>>>> Thanks!
>>>>
>>>> On Thursday, February 21, 2019 at 10:42:33 PM UTC-5, andrey mirtchovski 
>>>> wrote:
>>>>>
>>>>> > I tried the solution posted by Andrey (Thank you!) and it still does 
>>>>> the popup thing.  Oh well, it's a minor distraction, click update and it 
>>>>> goes away. 
>>>>>
>>>>> If you go to the OUTPUT tab does it give you an error message? or does 
>>>>> it say "things successfully installed"? 
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to