mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-22 00:13:55 +01:00
Don't export function
This commit is contained in:
parent
60f4183057
commit
1a05d6d03a
@ -11,7 +11,7 @@ type codebergReleaseResponseJson struct {
|
||||
HtmlUrl string `json:"html_url"`
|
||||
}
|
||||
|
||||
func FetchLatestCodebergRelease(request *ReleaseRequest) (*AppRelease, error) {
|
||||
func fetchLatestCodebergRelease(request *ReleaseRequest) (*AppRelease, error) {
|
||||
httpRequest, err := http.NewRequest(
|
||||
"GET",
|
||||
fmt.Sprintf(
|
||||
|
@ -59,7 +59,7 @@ func FetchLatestReleases(requests []*ReleaseRequest) (AppReleases, error) {
|
||||
func fetchLatestReleaseTask(request *ReleaseRequest) (*AppRelease, error) {
|
||||
switch request.Source {
|
||||
case ReleaseSourceCodeberg:
|
||||
return FetchLatestCodebergRelease(request)
|
||||
return fetchLatestCodebergRelease(request)
|
||||
case ReleaseSourceGithub:
|
||||
return fetchLatestGithubRelease(request)
|
||||
case ReleaseSourceGitlab:
|
||||
|
Loading…
Reference in New Issue
Block a user