Skip to content

Commit

Permalink
完善样例
Browse files Browse the repository at this point in the history
  • Loading branch information
yumaojun03 committed Jan 5, 2024
1 parent aeae749 commit baa9dc6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/simple/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ import (
"github.com/infraboard/mcube/v2/ioc/config/datasource"
"github.com/infraboard/mcube/v2/ioc/server"
"gorm.io/gorm"

// 开启Health健康检查
_ "github.com/infraboard/mcube/v2/ioc/apps/health/gin"
// 开启Metric
_ "github.com/infraboard/mcube/v2/ioc/apps/metric/gin"
)

func main() {
Expand Down

0 comments on commit baa9dc6

Please sign in to comment.