Implementing JWT based authentication in Golang
In this post, we will learn how JWT(JSON Web Token) based authentication works, and how to build a server application in Go to implement it using the golang-jwt/jwt library. If…
Favourite tutorials for developers
In this post, we will learn how JWT(JSON Web Token) based authentication works, and how to build a server application in Go to implement it using the golang-jwt/jwt library. If…
In this guide, we’ll begin by exploring the fundamentals of gRPC, understanding its purpose and use cases. Following that, we’ll look at how Protocol Buffers work and how to write…
Microservices have emerged as a powerful architectural paradigm for developing complex, scalable, and maintainable software systems. By breaking down applications into smaller, loosely coupled services, developers can create a more…
In this article, we are going to look into, grpc-gateway The gRPC-Gateway is a plugin of the Google protocol buffers compiler protoc. It reads protobuf service definitions and generates a…
In this article, we will learn how to create a simple grpc-gateway with Go. For this, we need to prepare our Go project for the grpc-gateway. You can find detailed…
gRPC-Gateway is a plugin that generates a reverse proxy server for gRPC services that convert Restful/JSON into gRPC and vice versa. In other words, gRPC-Gateway will create a layer over…
Generic programming is also known as parametric polymorphism in other programming languages. It is a way of reducing function duplication by writing “common functions” with support for multiple type parameters/arguments.…
In Go, there are several built-in types for identifiers, also known as predeclared types. They include Boolean, string, numeric (float32, float64, int, int8, int16, int32, complex), and so many other…
In this article, we will explore type assertion and type conversion operations in Go using some examples.
Tackling errors in Go requires a different approach than the conventional methods in other mainstream programming languages, like JavaScript, which uses the try...catch statement, or Python with its try… except…