Skip to content
/ iGo Public

People tell me GO is a nice thing to learn about. So here I GO :-)

License

Notifications You must be signed in to change notification settings

webteckie/iGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Setup

Download and Install Compiler

https://golang.org/dl/

Ensure the GOPATH is correctly set to the location of where you want your project packages installed (e.g., C:\Users\me\go).

Do not confuse GOPATH with GOROOT!!! GOROOT is the location of the Go compiler binaries (e.g., c:\Go) and thus should be in your system path.

You can see the value of each by running "go env" in a terminal.

Visual Studio Code Editor

Preferably use Visual Studio Code as the editor of choice for your Go programming. Install the Go extension. Make sure the open instance of Visual Studio Code has picked up the correct GOPATH setting. To verify this you can:

- open a Terminal window in Visual Studio code
- Run the "cmd" command
- Run the "set" command
- Look for the GOPATH variable in the listing

If the variable does not show or the value is incorrect ensure the correct settings for the variable in the control panel Environment Variables section and then restart all instances of Visual Studio.

Git Extensions

Make sure you have installed the Git Extension Pack extension into Visual Studio Code.

Clone this Repo into your local machine

Using the Visual Studio Code's Git Clone command clone this repo.

Run The TestConsole

To verify the setup of your Go environment, open a Terminal window in Visual Studio Code and do the following:

- cd "<cloned-repo-location>\iGO\src
- run "go run .\TestConsole.go"

Should see a few prompts with single key answers.

About

People tell me GO is a nice thing to learn about. So here I GO :-)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages