go-mockgen
Gin
go-mockgen | Gin | |
---|---|---|
3 | 165 | |
58 | 80,154 | |
- | 0.7% | |
5.6 | 8.3 | |
11 months ago | about 1 month ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-mockgen
-
Is there a mock library works with generics?
https://github.com/derision-test/go-mockgen, we use this widely at work
-
Libraries you use most of your projects?
https://github.com/derision-test/go-mockgen for generating mocks for interfaces, for those that use dependency injection. By far the best mock generator, especially compared to the relatively bad official one, or anything that requires passing method names as strings...
-
What are your favorite packages to use?
https://github.com/derision-test/go-mockgen for the best mocks Ive ever had in Go https://github.com/go-chi/chi for HTTP routing
Gin
-
User authentication in go
To simplify things, we will use gin framework and several additional packages:
-
xun VS Gin - a user suggested alternative
2 projects | 24 Jan 2025
-
Top 5 Go Libraries Every Backend Developer Should Know
1. Gin
-
A Deep Dive into Gin: Golang's Leading Framework
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API, but with performance up to 40 times faster than Martini. If you need smashing performance, get yourself some Gin.
-
Simplify Your REST API Responses with Milogo for Gin-Gonic
At my company we use Go to build internal tools. Recently I worked in a REST API using gin-gonic, that required displaying a lot of data across many endpoints.
-
Simplify Input Validation in Go with ginvalidator
ginvalidator is a set of Gin middlewares that wraps the extensive collection of validators and sanitizers offered by my other open source package validatorgo. It also uses the popular open-source package gjson for JSON field syntax, providing efficient querying and extraction of data from JSON objects.
-
Rate Limiting a Golang API using Redis
In case you have no idea what Gin and Redis are. Gin is a web framework written in Golang. It helps to create a simple and fast server without writing a lot of code. Redis it's an in-memory and key-value data store that can be used as a database or for caching capabilities.
-
TypeScript vs Go: Choosing Your Backend Language
Gin: A favorite for microservices and REST APIs. It's simple and fast.
-
Connect An Application to Neon Example (Go)
Learn how to use Go with Neon by exploring a demo Go API built with Gin plus PQ driver and how the API is used to create and manage E-bikes.
-
Authentication with Golang and AWS Cognito
To create the endpoints we are going to use gin.
What are some alternatives?
go-wiki - This is a Golang open-source module that makes it easy to access and parse data from Wikipedia (Wikipedia API wrapper)
chi - lightweight, idiomatic and composable router for building Go HTTP services
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
Fiber - ⚡️ Express inspired web framework written in Go
goproc - simple process manager helper library
Echo - High performance, minimalist Go web framework
httprouter - A high performance HTTP request router that scales well
Beego - beego is an open-source, high-performance web framework for the Go programming language.
pggen - Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍
ginkgo - A Modern Testing Framework for Go
go-kit - A standard library for microservices.