Golang

golang

Concurrency in Go with Goroutines and Channel

Reading Time: 5 minutes Why Concurrency? Concurrency is an ability of a program to do multiple things at the same time. Concurrency is very important in modern software, due to the need to execute independent pieces of code as fast as possible without disturbing the overall flow of the program. Concurrency in Golang is the ability for functions to run independently of each other. Parallelism is a run-time property Continue Reading

golang

“How To Use Interfaces in Golang?”

Reading Time: 4 minutes What is an interface? Interface types are one special kind of type in Go. An interface in Go is a type defined using a set of method signatures. The interface defines the behavior of a similar type of object.Go has great support for interfaces and they are implemented in an implicit way. They allow polymorphism in Go. An interface is an abstract concept that enables Continue Reading

golang

“How To Use Structs In Golang?”

Reading Time: 4 minutes What is a struct? A struct is a user-defined type that represents a collection of fields. It can be used in places where it makes sense to group the data into a single unit rather than having each of them as separate values. A structure is used mainly when you need to define a schema made of different individual fields properties). Like a class, we Continue Reading

golang

A Basic Understanding of Array in GoLang.

Reading Time: 3 minutes Hi folks! In this blog we are gonna have A Basic Understanding of Array in GoLang.Array are the probably one of the most used data structure throughout programming.They are quite useful and it is versatile.It hold a bunch of data. Array In Go and most programming languages arrays are fixed length of sequence of elements and all the items in the array have to be Continue Reading

golang

How to use different Data types and Variables in Go

Reading Time: 4 minutes Hello Readers! Today in this blog we will see different Data types and Variables in Go. And how easily we can use them. So, stay tuned with me!  Firstly we will see what a variable actually is? In programming, we have variables, it is essentially some way of storing and accessing information. It holds some value for us; we may manipulate that variable. Or We Continue Reading

extreme close up photo of codes on screen

A Basic Introduction about Slice in Golang.

Reading Time: 3 minutes In this Blog we will be Exploring about Slices in Golang. Slices are kind of an addition to arrays. Here we can say a slice is a segment of an array. Like Arrays Slices are indexable and have a length. But Unlike arrays which has fixed length and We had to predetermine the size before implementing the arrays. This problem was solved with the Slices Continue Reading

golang

Getting started with Golang

Reading Time: 3 minutes Hello Readers! You all must have heard about Golang. So, In this blog we will see how you can set up golang in your system and after that we will see a simple demo with getting started with golang. Here are the 4 easiest steps to get Golang up and running in your linux machine. So, let’s get started. Step 1: First step is to Continue Reading

Create kubectl Like CLI With GO And Cobra

Reading Time: 6 minutes We are using CLI tools for ages. You might be familiar with the CLI tools like git, docker, kubectl, awscli, etc. What does it take to create a CLI? Can we create a powerful but cool CLI with ease? In this blog post, I will walk you through a fictional CLI named greetctl. We will implement it in golang with the help of the cobra Continue Reading

Starting with Blockchain Chaincode using Golang

Reading Time: 2 minutes Chaincode, or a smart contract is a fragment of code written in supported languages like Java or Go that is deployed onto a network of HyperLedger Fabric peer nodes. In this blog, we will learn how to develop Chaincode using Golang for a blockchain network based on Hyperledger Fabric v0.6. Chaincodes run network transactions which are validated and then appended to the shared ledger. In simple Continue Reading