go-zero/tools/goctl/feature/feature.go

21 lines
414 B
Go
Raw Normal View History

2020-07-29 17:11:41 +08:00
package feature
import (
"fmt"
"github.com/logrusorgru/aurora"
"github.com/urfave/cli"
)
var feature = `
1新增对rpc错误转换处理
1.1目前暂时仅处理not found unknown错误
2增加feature命令支持详细使用请通过命令[goctl -feature]查看
`
func Feature(c *cli.Context) error {
fmt.Println(aurora.Blue("\nFEATURE:"))
fmt.Println(aurora.Blue(feature))
return nil
}