package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Dec 18, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Data struct {
Project `json:"project"`
}
type Discussion struct {
CreatedAt time.Time `json:"createdAt"`
Notes `json:"notes"`
}
type GitLab interface {
ReadIssues() (Data, error)
}
type Issue struct {
IID string `json:"iid"`
WebURL string `json:"webUrl"`
Author User `json:"author"`
Title string `json:"title"`
Description string `json:"description"`
Notes `json:"notes"`
Labels `json:"labels"`
CreatedAt time.Time `json:"createdAt"`
ClosedAt *time.Time `json:"closedAt,omitempty"`
}
type Issues struct {
Count int `json:"count"`
Nodes []Issue `json:"nodes"`
}
type Label struct {
Title string
}
type Labels struct {
Nodes []Label `json:"nodes"`
}
type Note struct {
Author User `json:"author"`
Body string `json:"body"`
CreatedAt time.Time `json:"createdAt"`
}
type Notes struct {
Nodes []Note `json:"nodes"`
}
type Project struct {
Issues `json:"issues"`
}
type User struct {
ID string `json:"id,omitempty"`
Username string `json:"username"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.