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