model

package
v0.0.0-...-3ca74ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Question

type Question struct {
	Title     string `json:"title"`
	InputType string `json:"inputType"`
	InputSpec string `json:"inputSpec"`
}

type QuestionInput

type QuestionInput struct {
	Title     string `json:"title"`
	InputType string `json:"inputType"`
	InputSpec string `json:"inputSpec"`
}

type Survey

type Survey struct {
	ID        string      `json:"_id"`
	Title     string      `json:"title"`
	Token     string      `json:"token"`
	Questions []*Question `json:"questions"`
	IsDeleted bool        `json:"isDeleted"`
}

type SurveyInput

type SurveyInput struct {
	Title     string           `json:"title"`
	Token     string           `json:"token"`
	Questions []*QuestionInput `json:"questions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL