Go – Interfaces

  • Post author:
  • Post category:GO
  • Post comments:1 Comment

This topic is about Go - Interfaces. Go programming provides another data type called interfaces which represents a set of method signatures. The struct data type implements these interfaces to have method…

Continue ReadingGo – Interfaces

Go – Recursion

  • Post author:
  • Post category:GO
  • Post comments:0 Comments

Recursion is the process of repeating items in a self-similar way. The same concept applies in programming languages as well. If a program allows to call a function inside the…

Continue ReadingGo – Recursion

Go – Maps

  • Post author:
  • Post category:GO
  • Post comments:1 Comment

This topic is about Go - Maps. Go provides another important data type named map which maps unique keys to values. A key is an object that you use to…

Continue ReadingGo – Maps

Go – Range

  • Post author:
  • Post category:GO
  • Post comments:0 Comments

The range keyword is used in for loop to iterate over items of an array, slice, channel or map. With array and slices, it returns the index of the item as integer. With maps,…

Continue ReadingGo – Range

Go – Slices

  • Post author:
  • Post category:GO
  • Post comments:1 Comment

This is about Go - Slices. Go Slice is an abstraction over Go Array. Go Array allows you to define variables that can hold several data items of the same…

Continue ReadingGo – Slices

Go – Structures

  • Post author:
  • Post category:GO
  • Post comments:0 Comments

This topic is about Go - Structures. Go arrays allow you to define variables that can hold several data items of the same kind. Structure is another user-defined data type available in…

Continue ReadingGo – Structures