Check out example codes for "vscode golang cannot find package". It will help you in understanding the concepts better.

Code Example 1

go.useLanguageServer: false in settings.json

Learn ReactJs, React Native from akashmittal.com