Grammar fixes

This commit is contained in:
Ville Skyttä 2026-05-01 10:22:13 +03:00
parent 611b01f6c8
commit d8b8655f21
10 changed files with 12 additions and 12 deletions

View file

@ -92,7 +92,7 @@ func NewCachedHTTPClient(httpClient *http.Client, ttl time.Duration) *http.Clien
return &newClient
}
// AddCacheTTLHeader adds an header to the request telling the cache that the request
// AddCacheTTLHeader adds a header to the request telling the cache that the request
// should be cached for a specified amount of time.
func AddCacheTTLHeader(rt http.RoundTripper, ttl time.Duration) http.RoundTripper {
return &funcTripper{roundTrip: func(req *http.Request) (*http.Response, error) {