Skip to content

Conversation

aofei
Copy link
Member

@aofei aofei commented May 14, 2025

Script used:

gofmt -r 'interface{} -> any' -w .

Script used:

```
gofmt -r 'interface{} -> any' -w .
```

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
@Copilot Copilot AI review requested due to automatic review settings May 14, 2025 07:29
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the codebase by replacing all instances of interface{} with any to align with newer Go conventions.

  • Automated transformation using gofmt for a consistent type update.
  • Updated function signatures in both production and test files.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
http.go Updated the parameter type in notExistErrorf from interface{} to any
fetcher_test.go Updated the Value method signature in misbehavingDoneContext from interface{} to any

Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.67%. Comparing base (50d2fc6) to head (fa6a096).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   80.67%   80.67%           
=======================================
  Files          11       11           
  Lines        1371     1371           
=======================================
  Hits         1106     1106           
  Misses        257      257           
  Partials        8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aofei aofei merged commit 86253b8 into goproxy:master May 14, 2025
7 checks passed
@aofei aofei deleted the interface{} branch May 14, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant