doc/website: fix formatting on gRPC blog (#1367)

This commit is contained in:
Rotem Tamir
2021-03-21 13:47:52 +02:00
committed by GitHub
parent 0ed36ba188
commit ed14f1983c

View File

@@ -189,7 +189,7 @@ A new `generate.go` file was created with an invocation to `protoc`, the protobu
- [protoc installation](https://grpc.io/docs/protoc-installation/)
- [protoc-gen-go + protoc-gen-go-grpc installation](https://grpc.io/docs/languages/go/quickstart/)
- Run `go get -u [entgo.io/contrib/entproto/cmd/protoc-gen-entgrpc](http://entgo.io/contrib/entproto/cmd/entproto)` to install `protoc-gen-entgrpc`
- Run `go get -u entgo.io/contrib/entproto/cmd/protoc-gen-entgrpc` to install `protoc-gen-entgrpc`
After installing these dependencies, we can re-run code-generation:
@@ -465,4 +465,4 @@ Amazing! With a few annotations on our schema, we used the super-powers of code
We believe that `ent` + gRPC can be a great way to build server applications in Go. For example, to set granular access control to the entities managed by our application, developers can already use [Privacy Policies](https://entgo.io/docs/privacy/) that work out-of-the-box with the gRPC integration. To run any arbitrary Go code on the different lifecycle events of entities, developers can utilize custom [Hooks](https://entgo.io/docs/hooks/).
Do you want to build gRPC servers with `ent`? If you want some help setting up or want the integration to support your use case, please reach out to us via our [Discussions Page on GitHub](https://github.com/ent/ent/discussions) or in the #ent channel on the [Gophers Slack](https://app.slack.com/client/T029RQSE6/C01FMSQDT53).
Do you want to build gRPC servers with `ent`? If you want some help setting up or want the integration to support your use case, please reach out to us via our [Discussions Page on GitHub](https://github.com/ent/ent/discussions) or in the #ent channel on the [Gophers Slack](https://app.slack.com/client/T029RQSE6/C01FMSQDT53).