1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

1. README kratos new

2. xstr rename to str
This commit is contained in:
felixhao 2019-04-28 09:42:28 +08:00
parent 0592b45588
commit c9b3f5ece0
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

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

View File

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