Files
isp-config-service/controllers/schema.go
T
2019-07-26 11:24:55 +03:00

16 lines
325 B
Go

package controllers
import (
"isp-config-service/domain"
"isp-config-service/entity"
"isp-config-service/model"
)
var Schema = schema{}
type schema struct{}
func (schema) GetByModuleId(request domain.GetByModuleIdRequest) (*entity.ConfigSchema, error) {
return model.SchemaRep.GetSchemaByModuleId(request.ModuleId)
}