Skip to content
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

Some code improvements. #34

Merged
merged 1 commit into from
May 20, 2019
Merged

Some code improvements. #34

merged 1 commit into from
May 20, 2019

Conversation

sosiska
Copy link
Contributor

@sosiska sosiska commented May 20, 2019

* Rewrite some if-else chains as a switch statements. Based on Go style
guide: https://golang.org/doc/effective_go.html#switch
* Simplify some functions.
* Some comments formatting.
@knqyf263 knqyf263 merged commit e0ef056 into aquasecurity:master May 20, 2019
@knqyf263
Copy link
Collaborator

Thanks a lot!!

Hardw01f added a commit to Hardw01f/trivy that referenced this pull request Oct 2, 2019
* Rewrite some if-else chains as a switch statements. Based on Go style
guide: https://golang.org/doc/effective_go.html#switch
* Simplify some functions.
* Some comments formatting.
GuaoGuao pushed a commit to GuaoGuao/trivy that referenced this pull request Jun 24, 2020
* Rewrite some if-else chains as a switch statements. Based on Go style
guide: https://golang.org/doc/effective_go.html#switch
* Simplify some functions.
* Some comments formatting.
liamg pushed a commit that referenced this pull request Jun 7, 2022
liamg pushed a commit that referenced this pull request Jun 7, 2022
josedonizetti referenced this pull request in josedonizetti/trivy Jun 24, 2022
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.

2 participants