Go

Go is an open source programming language initially developed at Google. It is statically-typed, with a syntax loosely derived from C, adding automatic memory management, type safety, some dynamic typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

go golang

Comparing Crystal’s concurrency with that of Go (Part II)

In the first part of this article series, I focused on comparing Crystal and Go’s concurrency from Communicating Sequential Processes (CSP) perspective. This second part is to fill in the gap and cover more traditional Shared Memory Multithreading. I make the assumption that you are somewhat familiar with the concepts of multiple threads, critical region, mutual exclusion, and lock/unlock to ensure mutual exclusion.

Comparing Crystal’s concurrency with that of Go (Part I)

In my previous article on Crystal Programming Language titled — “A First Look at Crystal Programming Language and its Ecosystem”, I wrote about my first experience with Crystal language and its ecosystem. Since then I tried to delve a bit more in Crystal’s syntax and semantics. Having already familiar with Go, I wanted to compare concurrency support in Crystal and Go by converting some Go programs into Crystal.

Proxy Server in Golang

The main objective of this article is to get familiar with basics of Proxy Server and using any logic we can create our own reverse proxy server in Golang.

How to Create an Bitcoin HD Wallet with Golang and gRPC (Part l)

In this tutorial series, we are going to learn how to create an HD bitcoin wallet using Golang.

How to Write a pluggable third-party component in Golang

In “A Self-Evolved Microservice Framework in Go”, I described a framework that can evolve itself. It has two pieces, one is the lightweight framework, the other is the pluggable third-party components. You can call this architecture “small framework, big library”. In this article, I will talk about how to create pluggable third-party components. The followings are what you need to consider.

Named and Anonymous objects in Golang

In this article I want to share some concepts related to named and anonymous types in Go with an example exercise.

Different ways to Send an Email with Golang

In this blog, we’ll look at different methods to send an email with Go, First we will explore inbuilt smtp package, then we will move to use a popular package Gomail and finally we will send HTML emails using custom templates.

Binary Search with Go

A quick simple guide to write an efficient search function with Go. Search algorithms are known as one of the hot trends among software engineers for years.

Combine a React.js and Go app into a single binary file

The purpose of this article is to demonstrate how you can serve your React.js Single Page Application (SPA) with a Go server and combine the entire application into a single binary file.

Anatomy of Conditional Statements and Loops in Go

In this article we will explore Anatomy of Conditional Statements and Loops in Go . Go provides if/else and switch conditional statements for code execution based on a certain condition(s) and for code execution in…

How to Create a CRUD REST API using MySQL and Golang - Part 2

Learn how to create a CRUD REST API using MySQL and Golang. Golang is a programming language created by Google in 2009. Golang is a programming language that is compiled and typed in C language.

Tags in Golang | How To Use Struct Tags in Go

Go struct tags are annotations that are shown after the type in a Go struct declaration. Golang tag for a field allows us to attach meta-information to the field which we can acquire using reflection

How to Create a CRUD REST API using MySQL and Golang - Part 1

Learn how to create a CRUD REST API using MySQL and Golang. Golang is a programming language created by Google in 2009. Golang is a programming language that is compiled and typed in C language.

Getting started with Azure Data Explorer using the Go SDK

With the help of an example, this blog post will walk you through how to use the Azure Data explorer Go SDK to ingest data from a Azure Blob storage container and query it programmatically using the SDK.

Different Approaches to HTTP Routing in Go

Different approaches to HTTP routing in Go. Compares routing techniques, including five custom approaches and three using third-party routing libraries.

Datadog API Client Libraries Now Available for Java and Go

Use our API client libraries to programmatically collect, search, and update your monitoring data.In this post we’ll show you how to import our Java and Go client libraries into your application code. Then, we’ll look at a few usage examples, including how to get and update dashboards, list metrics, and retrieve logs.

User Registration and Login Template using Golang, MongoDB and JWT

Registration and Login are the vital parts of a web application. Here I have built a registration and login template code in Golang. For storing data, I have used the MongoDB NoSQL database. For routing in Golang, I have used the gorilla mux router and any further API call after login will be secured with JWT.

Getting Started With Azure Data Explorer Using the Go SDK

Hands-on tutorial on how to interact with Azure Data Explorer using Go. This blog post will walk you through how to use the Azure Data explorer Go SDK to ingest data from an Azure Blob storage container and query it programmatically using the SDK.

How to Build CLI Applications with Go (Golang)

In this post, we’re going over how to build a simple CLI tool in Go. You might be wondering: why should I use Go for this? These are the reasons for me: the code is expressive, it can be compiled to a binary which is easy to distribute, and it’s very fast. This post is not an in-depth tutorial on how to write Go applications, because the implementation of these scripts is up to you, the developer. That’s why I’m going to stick with a simple “Hello, World!” application and add some complexity, so you can start building CLI tools in Go for your own projects.

Tensorflow Lite (TFLite) with Golang (Go)

In this post I’m going to show case the implementation of TFLite inference application using platform independent language Golang and cross-compiling to a shared library. Which then can be consumed by Android, iOS etc…