protoc-gen-gorm
Generate GORM v2 Models and APIs from your .proto files. (by complex64)
go-grpc-middleware
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more. (by grpc-ecosystem)
protoc-gen-gorm | go-grpc-middleware | |
---|---|---|
1 | 7 | |
20 | 6,080 | |
- | 1.4% | |
7.6 | 7.2 | |
4 days ago | 5 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
protoc-gen-gorm
Posts with mentions or reviews of protoc-gen-gorm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-24.
-
Seeking advice on implementing a tinyurl-like service using Go and gRPC.
2: You can use gorm to save time and can also use protobuf plugin to make your life easier. I like https://github.com/complex64/protoc-gen-gorm it does not support relations yet but I guess you only need one table. ORM is not recommended but working with protobuffers you can save a lot of time with auto generation. if not ORM, u/jloking post makes more sense.
go-grpc-middleware
Posts with mentions or reviews of go-grpc-middleware.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-24.
-
Seeking advice on implementing a tinyurl-like service using Go and gRPC.
Hello, Those interviews are even crazy for internship. Anyway 1. Try to find a simple CRUD example online. You can check [this](https://tutorialedge.net/golang/go-grpc-beginners-tutorial/) 2. For logging you can check [go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) 3. You can grpc-gateway in case they want some REST endpoints too 4. Use base62 to encode your url. So at least 2 columns in your table **shortenedUrl** and **url** 5. For such a project no need to use an ORM ( it's not advised anyway ). Implement 2 functions, one to insert into the db and the other one to read from the db. Remember to use transaction though 5. For unit tests go with the standard library and mock the 2 functions ( erroneous and valid cases )
-
Understanding gRPC Concepts, Use Cases & Best Practices
Supported middlewares by gRPC framework.
-
[Question] Suggested way to update a database row using gRPC/PostgreSQL (pgx) ?
I do some basic validation at the server layer using a GRPC interceptor.
-
gRPC best practices
Example auth middleware: https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/auth/examples_test.go
-
Go, RabbitMQ and gRPC Clean Architecture microservice 💫👋
And initialize our gRPC service, here i used gRPC Middleware repository for unary interceptors:
-
Go gRPC Clean architecture microservice with Prometheus, Grafana monitoring and Jaeger opentracing ⚡️
I found this is very good gRPC Middleware repository, but we easy can create our own, for example logger interceptor:
What are some alternatives?
When comparing protoc-gen-gorm and go-grpc-middleware you can also consider the following projects:
ecommerce - A fully functional Ecommerce API in GO GIN Framework and mongoDB with JWT Authentication
zap - Blazing fast, structured, leveled logging in Go.