dao.go 364 字节
Newer Older
Y
Your Name 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package api

import (
	"github.com/eolinker/goku-api-gateway/common/pdao"
	"github.com/eolinker/goku-api-gateway/server/dao"
)

var(
	apiDao dao.APIDao
	apiGroupDao dao.APIGroupDao
	apiPluginDao dao.APIPluginDao
	apiStrategyDao dao.APIStrategyDao
	importDao dao.ImportDao
)

func init() {
	pdao.Need(&apiDao,&apiGroupDao,&apiPluginDao,&apiStrategyDao,&importDao)
}