package
Version:
v0.0.0-...-89ecaf8
Opens a new window with list of versions in this module.
Published: Mar 26, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type NewSurvey struct {
Name string `json:"name"`
Description string `json:"description"`
Question string `json:"question"`
}
type NewSurveyResponse struct {
SurveyID string `json:"surveyId"`
Answers string `json:"answers"`
Rating int `json:"rating"`
}
type Subscription struct {
}
type Survey struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Question string `json:"question"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type SurveyResponse struct {
ID string `json:"id"`
Survey *Survey `json:"survey"`
Answer string `json:"answer"`
Rating int `json:"rating"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.