thing_image.go 259 B

12345678910
  1. package mappers
  2. import "git.dmitriygnatenko.ru/dima/homethings/internal/models"
  3. func ConvertToAddThingImageRequestModel(thingID int, image string) models.AddThingImageRequest {
  4. return models.AddThingImageRequest{
  5. ThingID: thingID,
  6. Image: image,
  7. }
  8. }