package
Version:
v0.0.0-...-68b623b
Opens a new window with list of versions in this module.
Published: Apr 6, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Answer struct {
QuestionId string `json:"questionId"`
OptionId string `json:"optionId"`
}
type IEntity interface {
GetId() string
}
type Option struct {
Id string `json:"id"`
Description string `json:"description"`
Score int `json:"score"`
}
type Question struct {
Id string `json:"id"`
Description string `json:"description"`
Options []Option `json:"options"`
}
type Survey struct {
Id string `json:"id"`
Score int `json:"score"`
TraitId string `json:"traitId"`
Answers []Answer `json:"answers"`
}
type SurveyResponse struct {
Id string `json:"id"`
Score int `json:"score"`
Trait Trait `json:"trait"`
}
type Trait struct {
Id string `json:"id"`
Type string `json:"type"`
MinScoreRequirement int `json:"minScoreRequirement"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.