Documentation ¶
Index ¶
- type API
- func (a API) GetStats(s survey.Survey) (stats.CalculatedResult, error)
- func (a API) GetSurvey(id uint) (survey.Survey, error)
- func (a API) GetSurveyByName(name string) (survey.Survey, error)
- func (a API) GetSurveyByNameAndShareCode(name string, shareCode string) (survey.Survey, error)
- func (a API) SaveSurvey(s survey.Survey) (survey.Survey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is the wrapper for interaction with the Team Survey
func (API) GetSurveyByName ¶
GetSurveyByName get a survey by name
func (API) GetSurveyByNameAndShareCode ¶
GetSurveyByNameAndShareCode get a survey by name and share code
Click to show internal directories.
Click to hide internal directories.