thing_image.go 250 B

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