diff --git a/backend/diyhrt_fetch.go b/backend/diyhrt_fetch.go new file mode 100644 index 0000000..e69de29 diff --git a/backend/diyhrt_models.go b/backend/diyhrt_models.go new file mode 100644 index 0000000..09ba664 --- /dev/null +++ b/backend/diyhrt_models.go @@ -0,0 +1,41 @@ +package backend + +type ActiveIngredient struct { + Name string + Ester string + DisplayName string +} + +type Product struct { + Id int + Name string + Image string + ActiveIngredient ActiveIngredient +} + +type Store struct { + Id int + Name string + Url string + Description string + ShipsFromCountry string + ShipsToCountry string + ServiceStatus string + ServiceStatusNotes string + PaymentMethods string + CategoryName string +} + +type Listing struct { + Id int + ProductName string + StoreName string + Price string + PriceCurrency string + State string + InStock bool + Url string + PricingPerUnit string + Product Product + Store Store +}