Punit Naran
“If you want to find the secrets of the universe, think in terms of energy, frequency and vibration.” ~ N. Tesla

Implememt a KVDB Key-Value Database effectively using Interfaces

Implememt a KVDB Key-Value Database effectively using Interfaces

Monday, Feb 15, 2021

Simple (KVDB) Key-Value Database Implementation For this post I will be showing you how to implement a Database interface. This will be a simple Key-Value Database. The database should have at least a minimum interface for a KVDB Get, Set and Delete operations Close Database connection First lets create a database.go file. We can call it a database package. Now we need to implement a Database instance. The code below shows the minimum required calls (operations) needed for a Key-Value Database.
@ Punit Naran
4 minutes read
Cryptocurrency & Bitcoin donation button by NOWPayments

© 2021 - 2025 Punit Naran

Powered by Hugo with theme Dream.

Punit Naran
“If you want to find the secrets of the universe, think in terms of energy, frequency and vibration.” ~ N. Tesla

About Me

Hello, I’m Punit Naran—a hands-on software engineer with a knack for turning complex challenges into elegant, real-world solutions. Over the years, I’ve had the pleasure of working on a variety of projects that span from cloud infrastructure and DevOps to cutting-edge computer vision and quantum cryptography.

In my professional journey, I’ve taken on roles that have pushed me to innovate and lead. Whether at Deloitte, Snaptrip, InfoSum, or Crypto Quantique, I’ve been immersed in projects that demanded scalable, high-performance systems built primarily in Go. I’ve enjoyed architecting and fine-tuning solutions that streamline processes, enhance client privacy, and leverage the latest in microservices, containerization, and automation.

Beyond the workplace, I love diving into personal projects that fuel my curiosity. For instance, I’ve explored behavior-driven development through a project I call “DockerDogs” that uses TestContainers with GoDogs. My GitHub hosts a variety of experiments—from a quantum-resistant UUID generator to a cryptocurrency trader with smart arbitrage strategies—all crafted with a passion for clean, concise code.

This website is my playground—a space where I share insights, tutorials, and the occasional deep dive into projects that have challenged and inspired me. I invite you to join me on this journey as I continue to explore, learn, and build software that makes a difference.