Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository interface { Create(comments.Comment) error Get(id comments.ID) (comments.Comment, error) Update(comment comments.Comment) error GetByCodebaseAndChange(codebaseID string, changeID change.ID) ([]comments.Comment, error) GetByWorkspace(workspaceID string) ([]comments.Comment, error) GetByParent(id comments.ID) ([]comments.Comment, error) }
func NewRepo ¶
func NewRepo(db *sqlx.DB) Repository
Click to show internal directories.
Click to hide internal directories.