place_image.go 250 B

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