Skip to content

ChetanThapliyal/get-started-with-Go

Repository files navigation

Learn Go Programming Language

This repository is designed for anyone who is interested in learning GoLang. I have structured this repository to cover the basics of GoLang. It contains Go programs starting from basics to advanced, including topics like variables, control structures, functions, arrays and slices, pointers, structures, methods, and interfaces. The repository also includes solutions for problems from Leetcode and Exercism Go Track.

Getting Started

To get started with this repository, you will need to have Go installed on your computer.

  1. You can download and install Go from the official website https://golang.org/dl/.
  2. Run the installer and follow the instructions.
  3. Verify that Go is installed correctly by opening a terminal window and running the command go version. This should print the installed Go version.

Official Go repo: https://github.com/golang/go

You can also try the code directly at Go Playground without installing it.

Contents

This repository contains the following topics:

Go Introduction
Hello World
Variable Declaration
Printing Variables
Comments
Data Types
Escape Sequences
Variable Scope
Type of variable
Typecasting
Constants
Operators
Control Flow
Arrays
Slices
Maps
Functions
Pointers
Structs
Methods
Interfaces
Exercism Go Track

Each topic has its own folder containing a README.md file with an explanation of the topic and some examples. You can follow along with the examples and try them out for yourself.

Exercism Problems

The Exercism folder contains solutions to some Exercism problems in Go. Each problem has its own folder containing a README.md file with the problem description and solution.

Exercism Official Repo: https://github.com/exercism/go

Visit: https://exercism.org/tracks/go

Contributing

If you find an error in the code or documentation, or if you have a suggestion for a new topic, please feel free to open an issue or submit a pull request. Contributions are welcome and appreciated.

License

This repository is licensed under the MIT license. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published

Languages