Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

306 B
Raw Blame
package query

import (
	"github.com/getfider/fider/app/models/entity"
)

type GetCommentByID struct {
	CommentID int
	// PostID, when set, restricts the lookup to comments on that post
	PostID int

	Result *entity.Comment
}

type GetCommentsByPost struct {
	Post *entity.Post

	Result []*entity.Comment
}