comment

package
v0.0.0-...-0583c98 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComntService

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

func NewCommentService

func NewCommentService() *ComntService

func (*ComntService) DeleteComments

func (s *ComntService) DeleteComments(id uint) error

func (*ComntService) GetComments

func (s *ComntService) GetComments(championid, version string, pager *request.Pager) (res []*model.Comment, err error)

func (*ComntService) GetSingleComment

func (s *ComntService) GetSingleComment(id uint) (res *model.Comment, err error)

func (*ComntService) PostComment

func (s *ComntService) PostComment(tar *model.Comment) error

Jump to

Keyboard shortcuts

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