Skip to content

SK7here/Golang-Basics

Repository files navigation

Golang-Basics

1. Basic data types

  • Declarations, initializations and functions relating to each datatype have been explained.
  • Integers, Array, Strings have been demonstrated.

2. Structures

  • Declarations and accessing items within the structure are explained.
  • Empty structures

3. Pointers

  • Call by value and Call by reference concepts expained via swap function.

4. Interfaces

  • Implementing all methods in an Interface using a structure object.
  • Empty Interfaces
  • Interfaces with golang Maps

5. Control Structures

  • If, For, Continue, Break and Switch statements have been illustrated

6. Go Routines

  • Go routines implemented using Select block
  • Go routines implemented using Wait Group

7. Go Channels

  • Buffered Channels and Unbuffered Channels are explained

8. Select Block

  • Select block for Channels
  • Select block for Go Routines

About

Basic concepts of Golang explained with illustrative codes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages