diff --git a/README.md b/README.md index 2c2a7e8f2..4f65bb3b7 100644 --- a/README.md +++ b/README.md @@ -35,10 +35,10 @@ Kratos是[bilibili](https://www.bilibili.com)开源的一套Go微服务框架, ```shell go get -u github.com/bilibili/kratos/tool/kratos -kratos init +kratos new kratos-demo ``` -`kratos init`会快速生成基于kratos库的脚手架代码,如生成[kratos-demo](https://github.com/bilibili/kratos-demo) +`kratos new`会快速生成基于kratos库的脚手架代码,如生成[kratos-demo](https://github.com/bilibili/kratos-demo) ```shell cd kratos-demo/cmd diff --git a/pkg/str/str.go b/pkg/str/str.go index 8e93028df..8edc95942 100644 --- a/pkg/str/str.go +++ b/pkg/str/str.go @@ -1,4 +1,4 @@ -package xstr +package str import ( "bytes" diff --git a/pkg/str/str_test.go b/pkg/str/str_test.go index a452a5b43..bd009370c 100644 --- a/pkg/str/str_test.go +++ b/pkg/str/str_test.go @@ -1,4 +1,4 @@ -package xstr +package str import ( "testing"