Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct { Name string `json:"name"` SHA string `json:"sha"` // Commit SHA, e.g. c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc Date time.Time `json:"date"` }
func ListGitHubTags ¶
ListGitHubTags fetches git repo tags via GitHub API. It return tags in order. Could support pagination. Returns up to 30 by default.
func ListGitTags ¶
ListGitTags fetches git repo tags via git. It returns disordered tags.
Click to show internal directories.
Click to hide internal directories.