optimize unit test & add document

This commit is contained in:
anqiansong
2020-08-16 23:28:01 +08:00
parent 790b29b8eb
commit dbc034c9eb
46 changed files with 735 additions and 1855 deletions

View File

@@ -8,12 +8,10 @@ import (
)
var feature = `
1、新增对rpc错误转换处理
1.1、目前暂时仅处理not found 和 unknown错误
2、增加feature命令支持详细使用请通过命令[goctl -feature]查看
1、增加goctl model支持
`
func Feature(c *cli.Context) error {
func Feature(_ *cli.Context) error {
fmt.Println(aurora.Blue("\nFEATURE:"))
fmt.Println(aurora.Blue(feature))
return nil