genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[Task]: Add testdata corresponding to monolith

This commit is contained in:
mlabusch 2017-05-19 15:37:05 +02:00
parent cfe89e7f0c
commit f1454f321c
8 changed files with 13 additions and 13 deletions

View File

@ -24,7 +24,7 @@ func tempProcessRadius(value, max, radius int) float64 {
return (1 - float64(value)/float64(max)) * float64(radius) * 2 * 3.14 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) { func getGoodAvailablitySVG(w http.ResponseWriter, count int) {
t := template.New("some") t := template.New("some")

View File

@ -1,4 +1,4 @@
{ {
"id": 1, "id": 1,
"title": "Apple" "title": "Kiwi"
} }

View File

@ -1,4 +1,4 @@
{ {
"id": 2, "id": 2,
"title": "Pear" "title": "Blueberries"
} }

View File

@ -1,4 +1,4 @@
{ {
"id": 3, "id": 3,
"title": "Strawberry" "title": "Cherries"
} }

View File

@ -1,4 +1,4 @@
{ {
"id": 4, "id": 4,
"title": "Blueberry" "title": "Potatoes"
} }

View File

@ -1,4 +1,4 @@
{ {
"id": 5, "id": 5,
"title": "Kaki" "title": "Tomatoes"
} }

View File

@ -1,4 +1,4 @@
{ {
"id": 6, "id": 6,
"title": "Kiwi" "title": "Rhubarb"
} }

View File

@ -1,8 +1,8 @@
[ [
{"id":1, "title": "Apple"}, {"id":1, "title": "Kiwi"},
{"id":2, "title": "Pear"}, {"id":2, "title": "Blueberries"},
{"id":3, "title": "Strawberry"}, {"id":3, "title": "Cherries"},
{"id":4, "title": "Blueberry"}, {"id":4, "title": "Potatoes"},
{"id":5, "title": "Kaki"}, {"id":5, "title": "Tomatoes"},
{"id":6, "title": "Kiwi"} {"id":6, "title": "Rhubarb"}
] ]