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:
parent
0592b45588
commit
c9b3f5ece0
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
package xstr
|
||||
package str
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
@ -1,4 +1,4 @@
|
||||
package xstr
|
||||
package str
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
Loading…
x
Reference in New Issue
Block a user