You are neither in a module nor in your gopath vscode when bash_profile is set code example
Example: visual studio code you are neither in a module nor in your gopath
# for windows before starting visual studio code :
set GO111MODULE=on
# for windows before starting visual studio code :
set GO111MODULE=on