mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-19 21:18:07 +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
|
```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…
x
Reference in New Issue
Block a user