/
tool_index.go
88 lines (86 loc) · 2.86 KB
/
tool_index.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
package main
import "time"
var toolIndexs = []*Tool{
{
Name: "kratos",
Alias: "kratos",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/kratos@" + Version,
Summary: "Kratos工具集本体",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
Hidden: true,
},
{
Name: "protoc",
Alias: "kratos-protoc",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/kratos-protoc@" + Version,
Summary: "快速方便生成pb.go的protoc封装,windows、Linux请先安装protoc工具",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
},
{
Name: "genbts",
Alias: "kratos-gen-bts",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/kratos-gen-bts@" + Version,
Summary: "缓存回源逻辑代码生成器",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
},
{
Name: "genmc",
Alias: "kratos-gen-mc",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/kratos-gen-mc@" + Version,
Summary: "mc缓存代码生成",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
},
{
Name: "genproject",
Alias: "kratos-gen-project",
Install: "go get -u github.com/HuJingwei/go-zero/tool/kratos-gen-project@" + Version,
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Platform: []string{"darwin", "linux", "windows"},
Hidden: true,
Requirements: []string{"wire"},
},
{
Name: "testgen",
Alias: "testgen",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/testgen@" + Version,
Summary: "测试代码生成",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
},
{
Name: "testcli",
Alias: "testcli",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/HuJingwei/go-zero/tool/testcli@" + Version,
Summary: "测试代码运行",
Platform: []string{"darwin", "linux", "windows"},
Author: "kratos",
},
// third party
{
Name: "wire",
Alias: "wire",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/google/wire/cmd/wire",
Platform: []string{"darwin", "linux", "windows"},
Hidden: true,
},
{
Name: "swagger",
Alias: "swagger",
BuildTime: time.Date(2020, 3, 31, 0, 0, 0, 0, time.Local),
Install: "go get -u github.com/go-swagger/go-swagger/cmd/swagger",
Summary: "swagger api文档",
Platform: []string{"darwin", "linux", "windows"},
Author: "goswagger.io",
},
}