Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Architecture ¶
type Label ¶
type Label struct { Name string Glyph string Color lipgloss.AdaptiveColor Enabled bool }
type OperatingSystem ¶
type Repository ¶
type Repository struct { Architectures []Architecture `json:"architectures"` Categories []Category `json:"categories"` CertificationStatus string `json:"certification_status"` Created_at time.Time `json:"created_at"` Description string `json:"short_description"` FilterType string `json:"filter_type"` Name string `json:"name"` OperatingSystems []OperatingSystem `json:"operating_systems"` Publisher Publisher `json:"publisher"` PullCount string `json:"pull_count"` Slug string `json:"slug"` Source string `json:"source"` StarCount int `json:"star_count"` Type string `json:"type"` UpdatedAt time.Time `json:"updated_at"` Labels []Label }
func FetchRepositories ¶
func FetchRepositories() ([]Repository, error)
func (Repository) GetUrl ¶
func (data Repository) GetUrl() string
type RepositoryPage ¶
type RepositoryPage struct { PageSize int `json:"page_size"` PageId int `json:"page"` NextUrl string `json:"next"` PreviousUrl string `json:"previous"` Repositories []Repository `json:"summaries"` }
Click to show internal directories.
Click to hide internal directories.