Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentRepository ¶
type CommentRepository interface { Create(*comment.Comment) rest_error.RestErr GetComments(uint) ([]comment.Comment, rest_error.RestErr) }
func NewCommentRepository ¶
func NewCommentRepository(databaseClient datasources.DatabaseClient) CommentRepository
type CommentRepositoryMock ¶
func (*CommentRepositoryMock) Create ¶
func (c *CommentRepositoryMock) Create(comment *comment.Comment) rest_error.RestErr
func (*CommentRepositoryMock) GetComments ¶
func (c *CommentRepositoryMock) GetComments(u uint) ([]comment.Comment, rest_error.RestErr)
Click to show internal directories.
Click to hide internal directories.