questionService

package
v0.0.0-...-b336cc8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQuestion

func CreateQuestion(validator model.QuestionValidator) error

func GetQuestion

func GetQuestion(productID int64) (*model.Question, error)

func GetQuestions

func GetQuestions(page int) []model.Question

func GetQuestionsByIds

func GetQuestionsByIds(ids []int) []model.Question

Deprecated

func UpdateAnswer

func UpdateAnswer(validator model.AnswerValidator) error

func UpvoteQuestion

func UpvoteQuestion(validator model.QuestionUpvoteValidator) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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