kubescape / storage

Apache License 2.0
1 stars 6 forks source link

gofmt on project #43

Closed matthyx closed 11 months ago

matthyx commented 11 months ago

PR Type:

Refactoring


PR Description:

This pull request includes changes related to code formatting and the adjustment of import orders across multiple files in the project. The changes are made to comply with the 'gofmt' tool, a tool that automatically formats Go source code.


PR Main Files Walkthrough:

pkg/admission/wardleinitializer/interfaces.go: Adjusted the order of import statements. pkg/admission/wardleinitializer/wardleinitializer.go: Adjusted the order of import statements. pkg/admission/wardleinitializer/wardleinitializer_test.go: Adjusted the order of import statements. pkg/apis/softwarecomposition/install/install.go: Adjusted the order of import statements. pkg/apis/softwarecomposition/install/roundtrip_test.go: Adjusted the order of import statements. pkg/apis/softwarecomposition/validation/validation.go: Adjusted the order of import statements. pkg/apiserver/scheme_test.go: Adjusted the order of import statements. pkg/registry/file/watch.go: Adjusted the order of import statements. pkg/registry/softwarecomposition/sbomspdxv2p3/strategy.go: Adjusted the order of import statements and added new lines for better readability. pkg/registry/softwarecomposition/sbomspdxv2p3filtered/strategy.go: Adjusted the order of import statements and added new lines for better readability.


User Description:

gofmt and trigger release

codiumai-pr-agent[bot] commented 11 months ago

PR Analysis

How to use

To invoke the PR-Agent, add a comment using one of the following commands: /review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option. /describe: Modify the PR title and description based on the contents of the PR. /improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback. /ask \<QUESTION>: Pose a question about the PR. /update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value For example: /review --pr_reviewer.extra_instructions="focus on the file: ..." To list the possible configuration parameters, use the /config command.

github-actions[bot] commented 11 months ago

Summary: