© 2023 Hashnode
#go
To generate a unique token/OTP for each verification request and associate it with the user's email or session in Go, you can use a combination of cryptographic libraries and data structures. Here's an example implementation: package main …
Introduction Pocketbase is a cool alternative to Firebase, Appwrite, Supabase and other services like these, but what makes it cool is, how easy it is to setup with just a few clicks, pocketbase is written in GO and uses SQLite for the back…
Foreword: If you see that I'm wrong somewhere or if you are aware of any cool and valuable resources relevant to this topic, please let me know in the comments. I'd love to learn from you! I will star…
Origin and evolution of Go Welcome to the world of Go, a powerful and popular programming language known as Golang. As a seasoned Go developer named Nikhil Chauhan, I am thrilled to take you on a jour…
In concurrent programming, it's crucial to synchronize access to shared resources to avoid data races and ensure consistency. In Go, the sync package provides two types of locks: RLock (read lock) and…
Until today, pointers were the most confusing part of Go for me. That is until I actually sat down and spent some quality time with them. Here are the resources that made it click for me if you want t…
I used Java during most of my career, which had concurrency support from the early days. It allowed developers to start threads and synchronize access to the data shared by more than one thread. Howev…
Go (or Golang) is a powerful programming language known for its simplicity, performance, and concurrency features. However, like any programming language, it has its own set of challenges. One common …
#90DaysOfDevOps Day-12: Input from the user and use of pointers In Golang, there are a few different ways to get input from the user. One way is to use the fmt package's Scanf() function. The Scanf() …
Blockchain technology has revolutionized the way we store and exchange data. With its decentralized nature, blockchain provides a secure and transparent method for transmitting information across a ne…