Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName service.Name = "repository"
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
func ServiceProvider ¶
func ServiceProvider(repository *Repository) service.Provider
Types ¶
type BoardLane ¶
type BoardLane struct { ID BoardLaneID `json:"id"` Title string `json:"title"` IssueLabel string `json:"issueLabel"` CollectRemainingIssues bool `json:"collectRemainingIssues"` }
type BoardLaneID ¶
type BoardLaneID string
type BoardRepository ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func From ¶
func From(container *service.Container) (*Repository, error)
From retrieves the repository service in the given container
func Must ¶
func Must(container *service.Container) *Repository
Must retrieves the repository service in the given container or panic otherwise
func NewRepository ¶
func NewRepository(boards BoardRepository) *Repository
func (*Repository) Boards ¶
func (r *Repository) Boards() BoardRepository
Click to show internal directories.
Click to hide internal directories.