01-get-started/windows-installation.md
If you have chocolatey.org package manager, you can easily install Go like so:
choco install golang
Open VS Code; from the extensions tab at the left, search for "go" and install it
Close VS Code completely and open it up again
Go to View menu; select Command Palette
ctrl+shift+pgo installIn this course I'll be using bash commands. Bash is just a command-line interface used in OS X and Linux. It's one of the most popular command-line interfaces. So, if you want to use it too, instead of using the Windows default command-line, you can use git bash that you've installed. With git bash, you can type a command in command-line as you're on OS X or Linux.
If you don't want to use git bash, it's ok too. It depends on you. But note that, I'll be using bash commands mostly. Because it allows more advanced commands as well.
You can also prefer to use the more powerful alternative to git bash: Linux Subsystem for Windows
So, to use git bash, follow these steps:
Just search for git bash from the start bar
Or, if there's one, click on the icon on your desktop
Also, setup VS Code to use git-bash by default:
terminalNOTE: Normally, you can find your files under c:\, however, when you're using git bash, you'll find them under /c/ directory. It's actually the very same directory, it's just a shortcut.
For more tutorials: https://blog.learngoprogramming.com
Copyright © 2018 Inanc Gumus
Learn Go Programming Course