Random Sumit.

A learning log. Things I build, things I figure out, and life outside the screen.

Tag: golang ✕ Clear filter
  1. June 30, 2024 · Work · 4 min · golang · design-pattern

    Options Pattern in Golang

    This blog discusses the implementation and need of the options pattern in Go.

    Read →
  2. May 12, 2024 · Work · 3 min · aws · golang

    Running/Testing AWS Lambda function locally in Golang

    Running and testing AWS Lambda functions locally in Golang allows developers to catch bugs and issues early, ensuring smooth deployment. It involves setting up a local environment, writing the Lambda function.

    Read →
  3. April 27, 2024 · Work · 5 min · golang · concurrency

    Building a basic token manager

    Learn how to build a basic token manager in Go for handling access tokens required by APIs. This post covers using goroutines for concurrent token generation, caching tokens with atomic operations for thread-safety, and periodic token refreshing based on expiration duration.

    Read →