go-examples

Get Set Learn Go


Project maintained by sagar-jadhav Hosted on GitHub Pages — Theme by mattgraham

Learn Go programming language with simple examples

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.

Why learn Go!

“Go will be the server language of the future.” — Tobias Lütke, Shopify

  1. Its Open Source!
  2. Go focuses on simplicity, conciseness, readability ,concurrency and performance.
  3. Go has rich support for concurrency using goroutines and channels.
  4. Code written in Go is easy to maintain.

Getting Started

Clone go-examples and open with any text editor or IDE. I prefer Atom to work with Go programming language.

Prerequisites

To perform hands-on on go-examples it is prerequisite to have Go installed on your machine. Steps to install Go

Contents

Basic

Advance

Contributing

Pull requests are welcome. I will appreciate any help on either enhancing existing example/program or addition of new example/program.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

The Pull Request template can be found here

Authors