Created
November 28, 2023 13:47
-
-
Save sitaramshelke/ba08a18e98ba5a3751444280cd3acbfe to your computer and use it in GitHub Desktop.
Snippet for self updatable go binaries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code snippet: Fetch the latest release information from GitHub | |
latest, _, err := githubClient.Repositories.GetLatestRelease(context.Background(), "<org>", "<repo>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment