Most golang backends I've seen meanwhile use or switched to using the "gin" framework to build their APIs. A lot of them also have conventions for the frontend, where the assets usually are stored in /public, so they can be go:embed later as an embed.FS instance into the binary. Having said that, there's plenty of examples on github. I'd recommend to take a look at bigger projects or templates and understand how... - Source: Hacker News / 3 months ago
Excellent Performance: Sponge is built on the gin framework, providing outstanding performance for web service development. - Source: dev.to / 4 months ago
In this blog, we will delve into the fascinating realm of handling images in a Golang application, leveraging the power of the Gin framework for RESTful API development, MongoDB as a robust NoSQL database, and the mongo-driver library for seamless interaction with MongoDB. To store images efficiently, we'll explore the intricacies of GridFS, a specification within MongoDB for storing large files as separate chunks. - Source: dev.to / 4 months ago
For building the RESTful Point of Sale service API, I've considered and selected a combination of technologies that would work seamlessly together. For handling HTTP requests and responses, using the Gin HTTP web framework would make sense because I think it seems complete and popular among Go community too. To ensure data integrity and persistence, I'm using PostgreSQL database with pgx as the database driver,... - Source: dev.to / 7 months ago
I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:. Source: 8 months ago
That's not a problem with Go, it's a problem with frameworks: they give you some abstractions, e.g. The Laravel query builder, but they don't cover all the use cases, so you quickly find yourself using "raw" queries anyway. There are some well-established web frameworks for Go (e.g. https://github.com/gin-gonic/gin), but they are controversial too, as most Go... - Source: Hacker News / 10 months ago
One common example of the use of context is when we are working with APIs, then we define (or the used framework) the parent context that should be shared along the request process. In that kind of context, we have all the information related to the request one good example is the *gin-gonic* framework, where its developers make very good use of the context along with the requests. - Source: dev.to / 10 months ago
Also "Golang backend"? That's not a framework, that's a language. I think you meant Gin for that one. Source: 11 months ago
Use a library for HTTP serving, such as Gin, Chi, or Echo. I personally use Chi, as it's just the right level of abstraction for how I like to work. Despite what others say here, don't try to re-implement everything in a modern serving library using the standard library. Source: 11 months ago
For building my web server, I chose to use the Gin framework as the foundation of my app. It was incredibly easy to understand and work with, and I was pleasantly surprised by how seamlessly it integrated with writing unit tests for the server. To handle the database, I leveraged the power of go-sqlite and migrate for efficient SQL queries and migrations. These libraries proved to be both powerful and... Source: 11 months ago
The web framework uses gin. It also includes swagger documents, common service governance function codes, and build and deployment scripts. You can choose which database to use. - Source: dev.to / about 1 year ago
When it comes to Web Development I would recommend taking a closer look at some standard library packages like net and encoding. Looking at some Web Development open-source frameworks / libraries might be helpful as well. Gin is one of them. Source: about 1 year ago
Now that we have set up the Go environment, we can start building our API. The first step is to choose a framework. There are several popular frameworks for building APIs in Go, such as Gorilla mux, Echo, and Gin. For this article, we'll use Gorilla mux. - Source: dev.to / about 1 year ago
Mir is a toolkit to develop RESTful API backend service like develop service of gRPC. It adapt some HTTP framework sush as Gin, Chi, Hertz, Echo, Iris, Fiber, Macaron, Mux, httprouter。. Source: about 1 year ago
IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need,... Source: about 1 year ago
I found this article about someone who evaluated Gorilla Mux replacements and chose Chi, which may be helpful. FWIW I did some of my own investigation and I'm leaning towards Gin, since it's more performant which is a factor for my current usecase. Source: about 1 year ago
The back-end is going to be written in Golang, using a [Gin](https://github.com/gin-gonic/gin), [Gorm](https://gorm.io/), and a [Postgres](https://www.postgresql.org/) DB, so bonus points if you are familiar with Go! Source: about 1 year ago
Here's Express for Node.js, Flask for Python, Alfred for Dart, and Gin for Go; that's four different software packages for four completely different programming languages that all do very similar things. Take a look and see which one feels best, and start from there! Source: about 1 year ago
Sure, So backend mostly involves writing HTTP endpoints that serve requests. In JS, I'm assuming you worked with Node.js and express, for Golang, you could try Gin. Source: about 1 year ago
Specifically for nhooyr/websocket, I can see that one of the issues raised in the PRs is meant to address CVE-2020-28483 that affects github.com/gin-gonic/gin . If I run govulncheck on nhooyr/websocket, it does not list it as been vulnerable to that particular issue. And yes that particular CVE exists in its database; https://pkg.go.dev/vuln/GO-2021-0052. Source: about 1 year ago
Disclaimer: I'm not a frontend dev, I'm not a mobile app coder and I didn't really want to do anything. But I happen to code fairly often in Go, and so I figured the type table was really just a big map of values (either 0, 0.5, 1 or 2) tying one type to all other types... Could I maybe get away with a backend app that would handle it? Surely not... But I had recently noticed the Gin HTTP framework and it seemed... Source: over 1 year ago
Do you know an article comparing Gin Gonic to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Gin Gonic. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.