package service import ( "iot_manager_service/app/record/dao" "iot_manager_service/util/common" ) var LightRecordService = new(lightRecordService) type lightRecordService struct{} func (s *lightRecordService) List(searchValue, start, end string, id int) ([]dao.LightRecord, *common.Errors) { var records []dao.LightRecord return records, nil }