docs: fix some typos (#1852)

Signed-off-by: cuishuang <imcusg@gmail.com>
pull/1861/head
cui fliter 3 years ago committed by GitHub
parent e739f1d282
commit ed6ab7caf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md
  2. 2
      api/metadata/metadata.proto
  3. 2
      examples/http/middlewares/main.go

@ -39,7 +39,7 @@ Kratos is accessible, powerful, and provides tools required for large, robust ap
Kratos has the most extensive and thorough [documentation](https://go-kratos.dev/en/docs/getting-started/start) and [example](./examples) library of all modern web application frameworks, making it a breeze to get started with the framework. Kratos has the most extensive and thorough [documentation](https://go-kratos.dev/en/docs/getting-started/start) and [example](./examples) library of all modern web application frameworks, making it a breeze to get started with the framework.
We also provide a [moderm template](https://github.com/go-kratos/kratos-layout), This template should help reduce the work required to setup up a modern project. We also provide a [modern template](https://github.com/go-kratos/kratos-layout), This template should help reduce the work required to setup up a modern project.
### Goals ### Goals

@ -11,7 +11,7 @@ option java_package = "com.github.kratos.api";
option objc_class_prefix = "KratosAPI"; option objc_class_prefix = "KratosAPI";
// Metadata is api defintion metadata service. // Metadata is api definition metadata service.
service Metadata { service Metadata {
// ListServices list the full name of all services. // ListServices list the full name of all services.
rpc ListServices (ListServicesRequest) returns (ListServicesReply) { rpc ListServices (ListServicesRequest) returns (ListServicesReply) {

@ -22,7 +22,7 @@ func main() {
// add global filter // add global filter
http.Filter(globalFilter, globalFilter2), http.Filter(globalFilter, globalFilter2),
) )
// register http hanlder to http server // register http handler to http server
helloworld.RegisterGreeterHTTPServer(httpSrv, s) helloworld.RegisterGreeterHTTPServer(httpSrv, s)
// add route filter // add route filter

Loading…
Cancel
Save