[Task]: Add testdata corresponding to monolith
This commit is contained in:
parent
cfe89e7f0c
commit
f1454f321c
|
@ -24,7 +24,7 @@ func tempProcessRadius(value, max, radius int) float64 {
|
|||
return (1 - float64(value)/float64(max)) * float64(radius) * 2 * 3.14
|
||||
}
|
||||
|
||||
// Function to get the SVG, that shows the availybility with a traffic light food labeling system for a given good
|
||||
// Function to get the SVG, that shows the availability with a traffic light food labeling system for a given good
|
||||
func getGoodAvailablitySVG(w http.ResponseWriter, count int) {
|
||||
|
||||
t := template.New("some")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 1,
|
||||
"title": "Apple"
|
||||
"title": "Kiwi"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 2,
|
||||
"title": "Pear"
|
||||
"title": "Blueberries"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 3,
|
||||
"title": "Strawberry"
|
||||
"title": "Cherries"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 4,
|
||||
"title": "Blueberry"
|
||||
"title": "Potatoes"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 5,
|
||||
"title": "Kaki"
|
||||
"title": "Tomatoes"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 6,
|
||||
"title": "Kiwi"
|
||||
"title": "Rhubarb"
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[
|
||||
{"id":1, "title": "Apple"},
|
||||
{"id":2, "title": "Pear"},
|
||||
{"id":3, "title": "Strawberry"},
|
||||
{"id":4, "title": "Blueberry"},
|
||||
{"id":5, "title": "Kaki"},
|
||||
{"id":6, "title": "Kiwi"}
|
||||
{"id":1, "title": "Kiwi"},
|
||||
{"id":2, "title": "Blueberries"},
|
||||
{"id":3, "title": "Cherries"},
|
||||
{"id":4, "title": "Potatoes"},
|
||||
{"id":5, "title": "Tomatoes"},
|
||||
{"id":6, "title": "Rhubarb"}
|
||||
]
|
||||
|
|
Reference in New Issue