52 lines
1.0 KiB
Go
52 lines
1.0 KiB
Go
package models
|
|
|
|
var DataSet = []map[string]Question{
|
|
{
|
|
"start": {
|
|
Title: "Start question",
|
|
Description: "This first question, start",
|
|
Buttons: []Button{
|
|
{"start", "q1"},
|
|
},
|
|
},
|
|
"q1": {
|
|
Title: "Question 1",
|
|
Description: "This question 1 after start question",
|
|
Buttons: []Button{
|
|
{"q2", "q2"},
|
|
{"q3", "q3"},
|
|
{"q4", "q4"},
|
|
},
|
|
},
|
|
"q2": {
|
|
Title: "Question 2",
|
|
Description: "This question 2 after question 1",
|
|
Buttons: []Button{
|
|
{"Go end", "end"},
|
|
{"Need end", "end"},
|
|
},
|
|
},
|
|
"q3": {
|
|
Title: "Question 3",
|
|
Description: "This question 3 after question 1",
|
|
Buttons: []Button{
|
|
{"Want end", "end"},
|
|
{"Go dota 2", "end"},
|
|
},
|
|
},
|
|
"q4": {
|
|
Title: "Question 4",
|
|
Description: "This question 4 after question 1",
|
|
Buttons: []Button{
|
|
{"Run end", "end"},
|
|
{"Swimming to end", "end"},
|
|
},
|
|
},
|
|
"end": {
|
|
Title: "Last question",
|
|
Description: "This is last question",
|
|
Buttons: []Button{},
|
|
},
|
|
},
|
|
}
|