https://github.com/shivangraikar/golang
Go language programs starting with extreme basic computation.
https://github.com/shivangraikar/golang
datastructures functions golang language msi-installer
Last synced: 4 months ago
JSON representation
Go language programs starting with extreme basic computation.
- Host: GitHub
- URL: https://github.com/shivangraikar/golang
- Owner: shivangraikar
- Created: 2020-05-12T15:15:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-27T07:47:40.000Z (almost 5 years ago)
- Last Synced: 2023-05-01T08:30:54.115Z (about 2 years ago)
- Topics: datastructures, functions, golang, language, msi-installer
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Golang
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
I have been learning Golang and using certain basic programming features to understand it. Starting from the most primitve aspects of understanding a language.
# Contents
* [Loops](https://github.com/shivangraikar/Golang/tree/master/Loops)
* [Data Structures](https://github.com/shivangraikar/Golang/tree/master/DataStructures)
* [Functions](https://github.com/shivangraikar/Golang/tree/master/Functions)
* [Switch Statements](https://github.com/shivangraikar/Golang/tree/master/Switch)
# Installation
## Windows
* [Official golang source download](https://golang.org/doc/install)
a zip archive that requires you to set some environment variables and an MSI installer that configures your installation automatically.* MSI installer
Open the MSI file and follow the prompts to install the Go tools. By default, the installer puts the Go distribution in c:\Go.The installer should put the c:\Go\bin directory in your PATH environment variable. You may need to restart any open command prompts for the change to take effect.
* Zip archive
Download the zip file and extract it into the directory of your choice (we suggest c:\Go).Add the bin subdirectory of your Go root (for example, c:\Go\bin) to your PATH environment variable.
## macOS package installer
Download the package file, open it, and follow the prompts to install the Go tools. The package installs the Go distribution to /usr/local/go.The package should put the /usr/local/go/bin directory in your PATH environment variable. You may need to restart any open Terminal sessions for the change to take effect.
# Run go
For your first program save your go file as
File-->Save as-->Name--> "abc.go" Save as--> .txt
Make sure to use the ""(double inverted commas)
Navigate to the saved directory where your source code file is saved.
Use go run abc.go to run the program