repo

package
v0.0.0-...-d98c8e0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IQuestions

type IQuestions interface {
	FindAllQuestion(ctx context.Context, req entity.Question) (res []entity.Question, err error)
	FindQuestion(ctx context.Context, req entity.Question) (res entity.Question, err error)
	CreateQuestion(ctx context.Context, req entity.Question) (err error)
	UpdateQuestion(ctx context.Context, req entity.Question) (err error)
	DeleteQuestion(ctx context.Context, req entity.Question) (err error)
}

type Question

type Question struct {
	// contains filtered or unexported fields
}

func NewQuestion

func NewQuestion() *Question

func (*Question) CreateQuestion

func (r *Question) CreateQuestion(ctx context.Context, req entity.Question) (err error)

func (*Question) DeleteQuestion

func (r *Question) DeleteQuestion(ctx context.Context, req entity.Question) (err error)

func (*Question) FindAllQuestion

func (r *Question) FindAllQuestion(ctx context.Context, req entity.Question) (res []entity.Question, err error)

func (*Question) FindQuestion

func (r *Question) FindQuestion(ctx context.Context, req entity.Question) (res entity.Question, err error)

func (*Question) UpdateQuestion

func (r *Question) UpdateQuestion(ctx context.Context, req entity.Question) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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