Skip to content

Commit baa9dc6

Browse files
committed
完善样例
1 parent aeae749 commit baa9dc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/simple/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import (
99
"github.com/infraboard/mcube/v2/ioc/config/datasource"
1010
"github.com/infraboard/mcube/v2/ioc/server"
1111
"gorm.io/gorm"
12+
13+
// 开启Health健康检查
14+
_ "github.com/infraboard/mcube/v2/ioc/apps/health/gin"
15+
// 开启Metric
16+
_ "github.com/infraboard/mcube/v2/ioc/apps/metric/gin"
1217
)
1318

1419
func main() {

0 commit comments

Comments
 (0)