Welcome To Golang By Example

Menu
  • Home
  • Blog
  • Contact Us
  • Support this website
Menu

Tag: oop

Encapsulation in Go (Golang)

Posted on November 23, 2019January 20, 2021 by admin

Golang provides encapsulation at the package level. Go doesn’t have any public,  private or protected keyword. The only mechanism to control the visibility is using the capitalized and non-capitalized formats Capitalized Identifiers…

Compile Time Polymorphism in Go (Golang)

Posted on October 15, 2019November 13, 2019 by admin

In compile-time polymorphism, the call is resolved during compile time by the compiler. Some of the  forms for compile-time polymorphism are Method/Function Overloading: more than one method/function exists with the same name but…

OOP: Inheritance in GOLANG complete guide

Posted on August 29, 2019November 20, 2019 by admin

We will try to explain inheritance in GO using comparisons with inheritance in JAVA. The first thing we want to mention here is that GOLANG doesn’t have keywords such as “Extends” and…

Abstract Class in GO: Complete Guide

Posted on August 18, 2019November 12, 2019 by admin

Go Interface doesn’t have fields and also it doesn’t allow the definition of methods inside it. Any type needs to implements all methods of interface to become of that interface type. There…

Follow @golangbyexample

Popular Articles

Golang Comprehensive Tutorial Series

All Design Patterns in Go (Golang)

Slice in golang

Variables in Go (Golang) – Complete Guide

OOP: Inheritance in GOLANG complete guide

Using Context Package in GO (Golang) – Complete Guide

All data types in Golang with examples

Understanding time and date in Go (Golang) – Complete Guide

©2025 Welcome To Golang By Example | Design: Newspaperly WordPress Theme