main.go 172B

1234567891011121314151617
  1. package main
  2. import (
  3. _ "XT_Admin_Api/routers"
  4. "XT_Admin_Api/service"
  5. "github.com/astaxie/beego"
  6. )
  7. func init() {
  8. service.ConnectDB()
  9. }
  10. func main() {
  11. beego.Run()
  12. }