repositories

package
v0.0.0-...-b73fbf5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCustomer

func CreateCustomer(customer *models.Customer) error

func FindCustomerByEmail

func FindCustomerByEmail(customer *models.Customer) error

FindCustomerByEmail finds a customer in the db

func FindFormByCustomerId

func FindFormByCustomerId(form *models.Form) error

FindFormByUserId finds a form by User in the db

func FindFormById

func FindFormById(form *models.Form) error

FindFormById finds a form in the db

func FindQuestionByID

func FindQuestionByID(question *models.Question) error

FindQuestionByID finds a question in the db

func SaveChoice

func SaveChoice(choice *models.MultiChoice) error

SaveChoice persist a choice in the db

func SaveForm

func SaveForm(form *models.Form) error

func SaveQuestion

func SaveQuestion(question *models.Question) error

SaveQuestion persist a question in the db

func SaveSlider

func SaveSlider(slider *models.Slider) error

SaveSlider persist a slider in the db

Types

This section is empty.

Jump to

Keyboard shortcuts

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