From c9b3f5ece0a1632e08490ef5377305eaaca46a5c Mon Sep 17 00:00:00 2001 From: felixhao Date: Sun, 28 Apr 2019 09:42:28 +0800 Subject: [PATCH] 1. README kratos new 2. xstr rename to str --- README.md | 4 ++-- pkg/str/str.go | 2 +- pkg/str/str_test.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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"