Golang Basics
Purpose of this repository is to demonstrate basics of golang such as:
- Custom Types
- Slices
- Loops
- Receiver Functions
- Function with multiple return values
- File Handling
- Unit Testing
- Exception Handling
Go Installation
Click here to install Go - based on your OS and arch.
Execution
On Linux
- git clone https://github.com/itsAkshayDubey/go_basics.git
- cd go_basics/scripts/linux
- sh build.sh
- cd ../..
- ./main
On Windows
- git clone https://github.com/itsAkshayDubey/go_basics.git
- cd go_basics/scripts/windows
- build.bat
- main.exe