Skip to content

chore: format code #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2025
Merged

chore: format code #98

merged 1 commit into from
May 19, 2025

Conversation

luohoufu
Copy link
Contributor

What does this PR do

This pull request addresses a consistent issue in the import order across multiple files by reordering the infini.sh/framework/lib/fasttemplate import to follow a consistent alphabetical structure. This change improves code readability and maintains a uniform style across the project.

Import Order Adjustments:

  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/filters/debug/echo/echo.go to maintain alphabetical order.
  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/filters/elastic/hash_mod.go to maintain alphabetical order.
  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/filters/routing/flow.go to maintain alphabetical order.
  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/filters/transform/elasticsearch_lookup.go to maintain alphabetical order.
  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/filters/transform/set_context.go to maintain alphabetical order.
  • Reordered the infini.sh/framework/lib/fasttemplate import in proxy/output/queue/queue.go to maintain alphabetical order.

Rationale for this change

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

@luohoufu luohoufu merged commit faa2fe5 into main May 19, 2025
6 checks passed
@luohoufu luohoufu deleted the format_pr branch May 19, 2025 01:01
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.

5 participants