review

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Service

type Service struct {
	ServiceParams
}

func (Service) GetByGameRevisionID

func (s Service) GetByGameRevisionID(ctx context.Context, gameID uint) ([]entity.Review, error)

func (Service) UpdateReviewsForGameRevision

func (s Service) UpdateReviewsForGameRevision(ctx context.Context, gameRevision *entity.GameRevision, reviews []service.ReviewData) error

type ServiceParams

type ServiceParams struct {
	fx.In

	ReviewRepository repository.GameRevisionReviewRepository
	Transactor       *transactor.Transactor
}

Jump to

Keyboard shortcuts

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