reviewv1

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

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReviewDataResult

type ReviewDataResult httpsrv.ResultAnsw

type ReviewV1

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

func NewReviewV1

func NewReviewV1(ctx *context.Context, orm *orm.ORM, userV1 *userv1.UserV1) (*ReviewV1, error)

func (*ReviewV1) CreateReview

func (o *ReviewV1) CreateReview(request *models.Review) (*models.Review, error)

func (*ReviewV1) GetReviewByID

func (o *ReviewV1) GetReviewByID(id int64) (data *models.Review, err error)

func (*ReviewV1) HardDeleteReviewByID

func (u *ReviewV1) HardDeleteReviewByID(id int64) (err error)

func (*ReviewV1) ReviewDeleteHandler

func (o *ReviewV1) ReviewDeleteHandler(ec echo.Context) (err error)

func (*ReviewV1) ReviewGetHandler

func (o *ReviewV1) ReviewGetHandler(ec echo.Context) (err error)

func (*ReviewV1) ReviewPostHandler

func (o *ReviewV1) ReviewPostHandler(ec echo.Context) (err error)

func (*ReviewV1) ReviewPutHandler

func (o *ReviewV1) ReviewPutHandler(ec echo.Context) (err error)

func (*ReviewV1) SoftDeleteReviewByID

func (u *ReviewV1) SoftDeleteReviewByID(id int64) (err error)

func (*ReviewV1) UpdateReviewByID

func (u *ReviewV1) UpdateReviewByID(id int64, patch *[]byte) (writeData *models.Review, err error)

Jump to

Keyboard shortcuts

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