© 2023 Hashnode
#gin-gonic
Outline Introduction Setting up the Golang project: Create a new directory for the project and navigate to it. Initialize a new Go module. Install the required dependencies. Creating a MinIO Serv…
Sometimes I write about specific real-world problems I faced at work in the past.In this article, I was trying to gracefully shut down my gin server and start it again through the application itself, without re-running my application. I lea…
Introduction Go, also known as Golang, is a programming language created by Google that is easy to use, fast and efficient. It is great for web development, and it is also highly scalable and efficien…
So this morning I went for a bike ride (not really, it was raining, but bear with me) and now I want to log it in SpinTrack®. But we can only get existing activities and we have no existing activities…
Go, (also known as GoLang) is a compiled, statically typed, fast and high-performance programming language created by Google developers who were unhappy with the C, C++, Java and all the languages tha…
Now that we know how to write few basic endpoints such as GET, POST (JSON consumption), POST (multipart/form-data). We have seen that there are situations where we return an error and we need to retur…
In the previous article we created a GET endpoint using golang's gin framework. In this article we are going to see how to create a POST request endpoint golang's gin http framework. Step 1 Create a s…
In the previous article we started learning how to create RESTful API using golang's gin framework. In this article we are going to see how to create a GET endpoint using golang's gin http framework. …
Getting straight to the point. How do we start with creating APIs using gin which is a HTTP web framework written in golang. Step 1 Get the gin library to golang project. Run the below command in the …