mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
08c0de5cc3
- Move the main GetCSV and GetJSON into data.go. - Add error returns to GetCSV and GetJSON. - Add http client to Namespace for test mocking. - Send accept headers on remote requests. Fixes #3395 - Return an error on non-2XX HTTP response codes and don't retry. - Move cache tests to cache_test.go. |
||
---|---|---|
.. | ||
cache.go | ||
cache_test.go | ||
data.go | ||
data_test.go | ||
init.go | ||
init_test.go | ||
resources.go | ||
resources_test.go |