#Golang

63 articles

Implementing In-Memory Cache in Golang
Application 2020-09-29

Implementing In-Memory Cache in Golang

Build a lightweight in-memory cache in Go with TTL expiration and thread-safe access using sync.Map. Covers design requirements, expiration logic, and trade-offs vs. library solutions.

#Golang#Cache
Summary of Go CodeReviewComments
Application 2020-09-15

Summary of Go CodeReviewComments

Improve Go code quality with essential code review guidelines: receivers, error handling, goroutines, and naming conventions.

#Golang#Code Review
What is gRPC? A Practical Introduction to gRPC with Go
Application 2020-09-08

What is gRPC? A Practical Introduction to gRPC with Go

Learn what gRPC is, how Protocol Buffers work, and how to build a gRPC server and client in Go. Includes comparison with REST and when to choose gRPC.

#Golang#gRPC#Microservices#HTTP/2#RPC
Creating a Slack Emoji Auto-Generation Bot with Golang, chromedp, and Slack
Application 2020-08-11

Creating a Slack Emoji Auto-Generation Bot with Golang, chromedp, and Slack

Build a Slack bot with Go and chromedp for automated emoji generation using canvas screenshots and Slack API integration.

#Golang#Slack#Chrome#chromedp#Emoji#Slack Bot
Code Definition Jump Disabled After Enabling Go Language Server in VSCode
Application 2020-07-19

Code Definition Jump Disabled After Enabling Go Language Server in VSCode

Fix VSCode Go language server issues with gopls by placing go.mod file correctly for code definition jumping.

#Golang#gocode#gopls#Language Server#vscode#Tips
Production Deployment with VPS, Docker Compose, Docker Machine, Golang, Nginx, and Let's Encrypt
Poem 2020-06-07

Production Deployment with VPS, Docker Compose, Docker Machine, Golang, Nginx, and Let's Encrypt

Deploy Golang applications with Docker Compose, Nginx reverse proxy, and Let's Encrypt SSL/TLS certificates on VPS.

#Docker#Docker Compose#Golang#Let's Encrypt#Nginx#Docker Machine#VPS
Created a URL Router called goblin in Golang
Application 2020-01-26

Created a URL Router called goblin in Golang

Implement a high-performance URL router in Go using trie trees with path parameters and regex pattern matching.

#Golang#URL Routing#Router
Code Reading of Golang's HTTP Server
Application 2019-11-03

Code Reading of Golang's HTTP Server

Dive deep into Go's HTTP server internals: ServeMux routing, Handler interface, middleware patterns, and request handling.

#Golang#Code Reading#Router
Implementing a Trie in Golang
Algorithms and Data Structures 2019-09-24

Implementing a Trie in Golang

Learn how Trie (prefix tree) data structures work: O(m) search and insertion, applications in HTTP routing and IP lookups, and a Go implementation of insert and search operations.

#Golang#Radix Tree#Trie
Clean Architecture in Go: A Practical Implementation Guide
Application 2019-08-18

Clean Architecture in Go: A Practical Implementation Guide

Learn how to implement Clean Architecture in Go with practical code. Covers layer separation, dependency rules, directory structure, and real-world trade-offs.

#Clean Architecture#Golang#DIP
Notes on Implementing Hot Reload with Realize in Go
Application 2019-04-11

Notes on Implementing Hot Reload with Realize in Go

A memo on using Realize for hot reloading in Go applications.

#Golang#realize
Creating a mysqldump Tool with Go
Application 2019-02-04

Creating a mysqldump Tool with Go

Build a Go-based mysqldump tool for automated database backups from remote servers using SSH and TOML configuration files.

#Golang#MySQL#SSH#mysqldump
Understanding System Programming with Go
Application 2018-11-30

Understanding System Programming with Go

Understanding System Programming with Go

#Golang#Book Review
Go Interfaces Explained: How to Write Flexible, Testable Go Code
Application 2018-11-15

Go Interfaces Explained: How to Write Flexible, Testable Go Code

A practical guide to Go interfaces. Learn implicit implementation, interface composition, using interfaces for dependency injection, and common design pitfalls.

#Golang
Go Pointers Explained: When to Use Them and Common Pitfalls
Application 2018-11-13

Go Pointers Explained: When to Use Them and Common Pitfalls

Understand Go pointers clearly—when to use pointer receivers vs value receivers, how pointers affect memory and performance, and the most common mistakes to avoid.

#Golang
Summary of Variable Definitions and Declarations in Golang
Application 2018-11-13

Summary of Variable Definitions and Declarations in Golang

Learn Go variable declaration patterns: var syntax, short declarations, type inference, and visibility rules for identifiers.

#Golang
About Golang Functions - Function Values / Callback Functions / Anonymous Functions
Application 2018-10-04

About Golang Functions - Function Values / Callback Functions / Anonymous Functions

Understand Go functions: function values, callbacks, anonymous functions, and closures with practical implementation patterns.

#Golang#Callback#Function#Anonymous Function
Basics of Pointers in Golang
Application 2018-09-03

Basics of Pointers in Golang

Learn the basics of Go pointers: address operators (&), dereferencing (*), pass by value vs. reference, nil pointers, and when to use pointer receivers. Includes practical Go examples.

#Golang#Pointer#Pass by Value#Reference
Setting Up a Golang Development Environment
Application 2018-04-07

Setting Up a Golang Development Environment

Configure a Go development environment: GOPATH setup, directory structure, package organization, and Docker development.

#Golang
Resources I Used for Studying Golang
Application 2018-03-01

Resources I Used for Studying Golang

Discover essential Go learning resources: recommended books, official tutorials, and community guides for all skill levels.

#Golang#Link Collection