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 basics in order to understand any programming language easily, Same concept will be applied with go-examples as well. I have started with 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
- For Loop
- Functions
- Hello World
- If Else Statement
- Interface
- Map
- Math functions
- Pointer
- Recursion
- Simple Calculator
- Slice
- String length
- Struct
- Switch Statement
- Unit Test
- Variadic Parameter
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
- Sagar Jadhav - sagar-jadhav