Ultimate Makefile for GolangGolang

Ultimate Makefile for Golang

Boost your productivity and save time with ultimate Makefile for Golang projects.

Building In-Memory Cache in GoGolang

Building In-Memory Cache in Go

Learn about in-memory caching in Golang, it's benefits and how to implement it with and without generics with a TTL(expiry).

Naming Conventions in Go - Key to Readable and Maintainable CodeGolang

Naming Conventions in Golang

Why naming conventions matter in Go, with best practices and practical examples for clear, readable, maintainable code.

Introduction to Generics in GoGolang

Introduction to Generics in Go

Learn about generics in Golang, it's benefits and how to implement it in applications.

Dependency Injection in Go using WireGolang

Dependency Injection in Go using Wire

Learn about dependency injection, its benefits and how to implement it in Go services using wire

Guide to Rule EnginesGolang

Guide to Rule Engines

Rule Engines help in solving changing business requirements with ease. Learn all about Rule engines, it's working, benefits and how to implement one in Golang

WaitGroups in GolangGolang

WaitGroups in Golang

Learn about WaitGroups in golang and how to use them to perform concurrent operations without blocking the main thread.

Mastering Middlewares in GolangGolang

Mastering Middlewares in Golang

Learn about middlewares, their use cases and how to implement them in Golang applications

Implementing Enums in GolangGolang

Implementing Enums in Golang

Enums are a way to defined set of constant values. Learn how to implement enums in Go using iota with examples.

Introduction to Linting in GoGolang

Introduction to Linting in Go

Introduction to improving code quality using linting. Learn how to add linting in your Go projects.

Understanding Defer In GolangGolang

Understanding Defer In Golang

Learn about defer keyword in golang and how it can help you avoid panics due to bugs.

Introduction to GoroutinesGolang

Introduction to Goroutines

Understand the basics of concurrency and learn how to work with Goroutines in golang.

Uploading Files in Golang with Multipart RequestGolang

Uploading Files in Golang with Multipart Request

Learn how to upload files from your client to server as a multipart request in Golang.

Storing JSON in Postgres with GolangProgramming

Storing JSON in Postgres with Golang

Learn how to store JSON objects in Postgres and how to implement it in Golang.

Working with Date and Time in GoGolang

Working with Date and Time in Go

Learn how to use time in Golang - Multiple formats, locations and using date.

Implement Stack in GolangGolang

Implement Stack in Golang

Learn how to implement stack data structure in Golang (Full code)

Learn Maps in Golang (with examples)Golang

Learn Maps in Golang (with examples)

A complete guide to maps in Golang: creating maps, adding and removing items, iterating, and how map equality works.

Guide to Environment variables in GoGolang

Guide to Environment variables in Go

Learn what are environment variables and how to use them in Go

Go with RedisGolang

Go with Redis

A practical introduction to using Redis with Golang to make your applications faster with in-memory data storage.

Marshal structs the right way: GolangGolang

Marshal structs the right way: Golang

Why Golang marshals empty structs into your JSON instead of null, and how to marshal structs the right way.

Transactions on Postgres with GolangGolang

Transactions on Postgres with Golang

Performing Postgres database operations in Golang with GORM, from basic queries to full transaction support.

Sessions using Golang and RedisGolang

Sessions using Golang and Redis

How cookies and sessions work, and how to implement persistent login sessions in Golang using Redis.

Handle errors the right way — GolangGolang

Handle errors the right way — Golang

How to handle errors in golang to make your life easy

Uploading images to AWS S3 in GolangGolang

Uploading images to AWS S3 in Golang

In this tutorial I cover how to upload, fetch and manage other operations for objects on AWS S3 in Golang

Running periodic background tasks in GolangGolang

Running periodic background tasks in Golang

How to run periodic background tasks in Golang by combining cron-style scheduling with background execution.