From ed6ab7caf9ca2a8571f85a10831d18109df136f2 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 1 Mar 2022 22:14:59 +0800 Subject: [PATCH] docs: fix some typos (#1852) Signed-off-by: cuishuang --- README.md | 2 +- api/metadata/metadata.proto | 2 +- examples/http/middlewares/main.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2505938d..159e886d8 100644 --- a/README.md +++ b/README.md @@ -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. -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 diff --git a/api/metadata/metadata.proto b/api/metadata/metadata.proto index 9eca4c681..d3b9a4134 100644 --- a/api/metadata/metadata.proto +++ b/api/metadata/metadata.proto @@ -11,7 +11,7 @@ option java_package = "com.github.kratos.api"; option objc_class_prefix = "KratosAPI"; -// Metadata is api defintion metadata service. +// Metadata is api definition metadata service. service Metadata { // ListServices list the full name of all services. rpc ListServices (ListServicesRequest) returns (ListServicesReply) { diff --git a/examples/http/middlewares/main.go b/examples/http/middlewares/main.go index 940001010..81f104996 100644 --- a/examples/http/middlewares/main.go +++ b/examples/http/middlewares/main.go @@ -22,7 +22,7 @@ func main() { // add global filter http.Filter(globalFilter, globalFilter2), ) - // register http hanlder to http server + // register http handler to http server helloworld.RegisterGreeterHTTPServer(httpSrv, s) // add route filter