1. README kratos new

2. xstr rename to str
pull/52/head
felixhao 6 years ago
parent 0592b45588
commit c9b3f5ece0
  1. 4
      README.md
  2. 2
      pkg/str/str.go
  3. 2
      pkg/str/str_test.go

@ -35,10 +35,10 @@ Kratos是[bilibili](https://www.bilibili.com)开源的一套Go微服务框架,
```shell ```shell
go get -u github.com/bilibili/kratos/tool/kratos 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 ```shell
cd kratos-demo/cmd cd kratos-demo/cmd

@ -1,4 +1,4 @@
package xstr package str
import ( import (
"bytes" "bytes"

@ -1,4 +1,4 @@
package xstr package str
import ( import (
"testing" "testing"

Loading…
Cancel
Save