package infrastructure import ( "git.sxidc.com/go-framework/baize/infrastructure/database/data_service" "git.sxidc.com/go-framework/baize/infrastructure/database/operations" ) type Infrastructure struct { dbOperations *operations.Operations dataService *data_service.DataService } func (i Infrastructure) GetDBOperations() *operations.Operations { return i.dbOperations } func (i Infrastructure) GetDataService() *data_service.DataService { return i.dataService }