go-github-selfupdate icon indicating copy to clipboard operation
go-github-selfupdate copied to clipboard

Newupdater set API token, but it doesn't work

Open jbc2212321 opened this issue 9 months ago • 1 comments

up, err := selfupdate.NewUpdater(selfupdate.Config{ APIToken: "****", }) if err != nil { fmt.Println(err) } latest, found, err := up.DetectLatest("username/repo") if err != nil { log.Println("Error occurred while detecting version:", err) return }

jbc2212321 avatar Apr 08 '25 10:04 jbc2212321

Image

jbc2212321 avatar Apr 08 '25 10:04 jbc2212321