place_image.go 259 B

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