Arish Ahmadblog.arishahmad.in·Sep 19, 2024Setting Up a Go Web Server on Amazon EC2Launching EC2 with Amazon Linux Open the AWS Management Console and navigate to the EC2. Click “Launch instances”. Enter an appropriate instance name. Select “Amazon Linux” under “Application and OS Images”. Select any “Free tier eligible” I...39 readsec2
Hongtech.mrleong.net·May 6, 2024Gin vs. Fiber: A Quick 2-Minute ComparisonBoth Gin and Fiber claim to be high-performance web frameworks. This is a quick comparison for busy developers. Fiber Strengths: Performance: Fiber boasts excellent performance, often exceeding Gin in benchmarks, especially for simple use cases. It...140 readsProTipsGo
Dhairya Vermarajurastogi.hashnode.dev·Nov 1, 2023Golang: Gin middleware for authenticationIn this blog, we will delve into gin middleware to authorize the user access Token. sampleRoute := router.Group("/sample") // we are telling gin to use TokenAuthMiddleware // for all requests with path /sample/* sampleRoute.Use(middle...452 readsGo Language
SHIVANI GANIMUKKULAshivanig.hashnode.dev·Oct 19, 2023Gin & GORM in GolangGolang is an open-source, procedural and statically typed programming language designed by Google. Go is popular because of its simplicity, readability, efficiency, and concurrent nature. Go is used for backend programming, also popular for making co...177 readsgolang
Sidharthan Chandrasekaran Kamarajthebugshots.dev·Sep 6, 2023Safeguard Your REST APIs Using Open Policy Agent - OPAAuthorization is a crucial concern for most applications. As app logic grows, permission checks often get scattered across handlers, middlewares, and external services. This leads to duplicated logic and inconsistencies. Open Policy Agent (OPA) provi...142 readsGolangopa
Arsham Aryaarshamalh.hashnode.dev·Mar 10, 2023Trying to shut down a gin server... (goroutines and channels tips)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 learned some ...1 like·67 readsGo Language
Carlos Armando Marcano Vargascarlosmv.hashnode.dev·Nov 15, 2022JWT Authentication with Gin | GoIn this article, we will build an authentication API with two endpoints, a register endpoint to sign up users and a login endpoint. Then we will add two endpoints that will need authentication and authorization to get access. For this article will b...2 likes·2.8K readsgin