From 681f7ac49bc330b877a27ea69bd20abc99a610fc Mon Sep 17 00:00:00 2001 From: Ronan Pelliard Date: Wed, 11 Aug 2021 15:00:54 +0200 Subject: [PATCH] Fix GitHub docs links --- github/doc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/doc.go b/github/doc.go index bd2e3ea063f..2432dfa56ed 100644 --- a/github/doc.go +++ b/github/doc.go @@ -112,7 +112,7 @@ To detect an API rate limit error, you can check if its type is *github.RateLimi } Learn more about GitHub rate limiting at -https://docs.github.com/en/free-pro-team@latest/rest/reference/#rate-limiting. +https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#rate-limiting. Accepted Status @@ -138,7 +138,7 @@ instead designed to work with a caching http.Transport. We recommend using https://github.com/gregjones/httpcache for that. Learn more about GitHub conditional requests at -https://docs.github.com/en/free-pro-team@latest/rest/reference/#conditional-requests. +https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#conditional-requests. Creating and Updating Resources