The purpose of go-examples project is to learn Go programming language through simple programs which will cover all the concepts & syntax of Go programming language. Instead of directly going deep dive into complex concepts it is always better to start with the basics in order to understand any programming language easily, Same concept will be applied to go-examples as well. I have started with the basics and then slowly moving to complex concepts.
Clone go-examples and open with any text editor or IDE. I prefer Atom to work with Go programming language.
To perform hands-on on go-examples it is prerequisite to have Go installed on your machine. Steps to install Go
- Arrays
- Boolean Expressions
- Closure
- Concurrency
- Comparison Operators
- For Loop
- Functions
- Hello World
- If Else Statement
- Interface
- Map
- Math functions
- Pointer
- Recursion
- Simple Calculator
- Struct
- Stack
- Slice
- String length
- Switch Statement
- Unit Test
- Variadic Parameter
- HTTP CRUD
Pull requests are welcome. I will appreciate any help on either enhancing existing example/program or addition of new example/program.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
The Pull Request template can be found here
- Sagar Jadhav - sagar-jadhav
- Rajkumar - rajkumarGosavi
- Andrea Manzini - ilmanzo
- Adam Pogwizd - adam-pog
- Luka Jajanidze - LukaJaj
- cdrewuk - cdrewuk
- Souvik Haldar- Souvik Haldar