Skip to content

Files

Latest commit

b7e22f5 · Apr 11, 2020

History

History
30 lines (23 loc) · 952 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 952 Bytes

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