Welcome To Golang By Example

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

Author: admin

Protocol Buffers and Go: Getting started

Posted on August 22, 2019November 13, 2019 by admin

In this tutorial, we will see how protocol buffers can be used in the context of GO Language. What is Protocol Buffer Protocol Buffers are data format which stores data in a…

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…

Inheritance in GO using interface + struct

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

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

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…

Golang: Redis client example

Posted on April 4, 2019November 12, 2019 by admin

First, we will write the Redis layer that will have a function to initialize the Redis client. The Redis client will only be created once and used throughout. In the below code,…

Interface to struct in Go (Golang)

Posted on March 18, 2019March 9, 2020 by admin

We come around a situation sometimes in programming where an empty interface might a struct internally and we have to get the concrete struct out of it. Whoever is not aware of…

Golang Maps: Not safe for concurrent use

Posted on March 17, 2019November 13, 2019 by admin

If you are a golang web application developer, then you often might encounter a use case of storing some data in memory in a go map for frequent access. If that is…

Golang net/http Package – Detecting Timeout

Posted on March 16, 2019November 13, 2019 by admin

Below is a sample code piece to know if there is a timeout for an upstream call that is using net/http package. Http Client is created with 1 nanosecond timeout so that…

Posts pagination

Previous 1 … 61 62
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