Go Programming Language
A statically typed language developed by Google, known for its simplicity and efficiency, especially suited for building scalable and high-performance web services.
- Unit Testing made easy in Go
In this article, we will learn about unit testing in Go. Go provide built-in functionality to test your Go code. Hence, we don’t need an expensive setup or 3rd party libraries to create unit tests.
- Anatomy of Modules in Go
Modules are a new way to manage dependencies of your Go project. Modules enable us to incorporate different versions of the same dependency without breaking the application.
- Anatomy of Channels in Go - Concurrency in Go
In this article, we are going to look at how Channels work in Go.
- Anatomy of goroutines in Go - Concurrency in Go
Goroutine is a lightweight execution thread running in the background. goroutines are key ingredients to achieve concurrency in Go.
- Achieving concurrency in Go
If I had to choose one great feature of Go, then it has to be in-built concurrency model. Not only it supports concurrency but makes it better. Go Concurrency Model (goroutines) to concurrency is what Docker is to virtualization.
- Interfaces in Go
Interfaces in Go do not enforce a type to implement methods but interfaces are very powerful tools. A type can choose to implement methods of an interface. Using interfaces, a value can be represented in multiple types, AKA, polymorphism.
- Anatomy of methods in Go
Go does not support the Object-Oriented paradigm but structure resembles the class architecture. To add methods to a structure, we need to use functions with a receiver.
- Structures in Go (structs)
Unlike traditional Object-Oriented Programming, Go does not have class-object architecture. Rather, we have structures that hold complex data structures.
- Pointers in Go
A pointer is a variable that stores the memory address data referenced by another variable. Pointers have the power to mutate data they are pointing to.
- Variadic functions in Go
A variadic function accepts an infinite number of arguments and all these arguments are stored in a parameter of the slice type.
- The anatomy of maps in Go
A map is a composite data type that can hold data represented by key:value pairs.
- The anatomy of Slices in Go
Slices are like Arrays but they can vary in length.
- The anatomy of Arrays in Go
An array is a container that holds values of the same type. Arrays in Go have fixed length and once they are defined, they can't be expanded to fit more data.
- The anatomy of Functions in Go
Like JavaScript, functions in Go are first-class citizens. They can be assigned to variables, passed as an argument, immediately invoked or deferred for last execution.
- String Data Type in Go
Strings in Go deserve special attention because they are implemented very differently in Go compared to other languages.
- Everything you need to know about Packages in Go
A complete overview of package management and deployment in Go programming language
- Anatomy of Conditional Statements and Loops in Go
Go provides if/else and switch conditional statements for code execution based on certain conditions. To execute some code over and over again, we have the for loop.
- Data Types and Variables in Go
In this article, we are going to look at some of the basic data types in Go and how we can declare variables and constants. Despite being a statically typed language, Go provides easy syntax to declare variables without explicitly defining data types.
- How to write a simple Go Program
In this tutorial, we are going to look at the basic structure of a Go program and run a simple Hello World program.
- Getting started with Go
Installing Go on your system, setting up environment variables, understanding root / workspace directories.
- Introduction to Go Programming Language (GoLang)
A short overview of Go programing language and why it was created in the first place.