Welcome To Golang By Example

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

Tag: golang

Composite Design Pattern in Go (GoLang)

Posted on November 4, 2019December 27, 2019 by admin

Note: Interested in understanding how all other design patterns can be implemented in GO. Please see this full reference – All Design Patterns in Go (Golang) Definition:  This is a structural design…

Different ways of iterating over a map in Go (Golang)

Posted on October 20, 2019November 12, 2019 by admin

Range operator can be used to iterate over a map in Go Let’s define a map first Iterating over all keys and values Output: Iterating over only keys Output: Iterating over only…

Go: Different ways of iterating over an Array and Slice

Posted on October 20, 2019November 12, 2019 by admin

Go provides many different ways of iterating over an array. All examples below are also applicable to slice. Let’s define an array of letters first Using the range operator With index and…

Prototype Pattern in Go (Golang)

Posted on October 20, 2019April 29, 2021 by admin

Note: Interested in understanding how all other design patterns can be implemented in GO. Please see this full reference – All Design Patterns in Go (Golang) Definition: It is a creational design…

State Design pattern in Go

Posted on September 25, 2019November 30, 2019 by admin

Note: Interested in understanding how all other design patterns can be implemented in GO. Please see this full reference – All Design Patterns in Go (Golang) Definition: State design pattern is a…

Builder Pattern in GoLang

Posted on September 4, 2019November 30, 2019 by admin

Definition: Builder Pattern is a creational design pattern used for constructing complex objects. Below is the UML diagram. Note: Interested in understanding how all other design patterns can be implemented in GO….

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…

Inheritance in GO using interface

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

This post describes inheritance using interface. Do visit our Inheritance in Go Complete Guide post for full reference Go supports inheritance by embedding struct or using interface. There are different ways of…

Inheritance in GO using struct (Embedding)

Posted on August 9, 2019October 9, 2021 by admin

This post desicribes inheritance using struct only. Do visit our Inheritance in Go Complete Guide post for full reference Go supports inheritance by embedding struct or using interface. There are different ways…

New Relic Example in GoLang with Deep Instrumentation

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

It is easy to integrate newrelic in GoLang. We just need one of the middleware to use the newrelic. Application. For eg in GIN framework of GO we can do something like…

Posts pagination

Previous 1 … 40 41
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