Documentation ¶
Index ¶
- func CreateCustomer(customer *models.Customer) error
- func FindCustomerByEmail(customer *models.Customer) error
- func FindFormByCustomerId(form *models.Form) error
- func FindFormById(form *models.Form) error
- func FindQuestionByID(question *models.Question) error
- func SaveChoice(choice *models.MultiChoice) error
- func SaveForm(form *models.Form) error
- func SaveQuestion(question *models.Question) error
- func SaveSlider(slider *models.Slider) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomer ¶
func FindCustomerByEmail ¶
FindCustomerByEmail finds a customer in the db
func FindFormByCustomerId ¶
FindFormByUserId finds a form by User in the db
func FindQuestionByID ¶
FindQuestionByID finds a question in the db
func SaveChoice ¶
func SaveChoice(choice *models.MultiChoice) error
SaveChoice persist a choice in the db
func SaveQuestion ¶
SaveQuestion persist a question in the db
func SaveSlider ¶
SaveSlider persist a slider in the db
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.