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

Remove duplicate type definitions from function signatures #1527

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Nov 6, 2022

I haven't found a linter for these, so I had to catch these manually. I found #757 to fix one of these, and I thought it would be good to fix everything at once.

@paskal paskal added the backend label Nov 6, 2022
@paskal paskal requested a review from umputun as a code owner November 6, 2022 13:40
@paskal paskal added this to the v1.11.1 milestone Nov 6, 2022
backend/app/rest/api/ssl.go Outdated Show resolved Hide resolved
@VladimirZaets
Copy link

@paskal I personally prefer full declaration:)

@umputun
Copy link
Owner

umputun commented Nov 12, 2022

this pr is a little bit confusing. I don't know how safe the part about TLS change (will need to check) but for sure it is not a part of "remove duplicate definition from func"

can you pls keep only those lint related changes here and make a separate pr for tls config?

I haven't found a linter for these, so I had to catch these manually.
I found #757 to fix one of these, and I thought it would be good
to fix everything at once.
@paskal paskal force-pushed the paskal/duplicate_types branch from 2dd8758 to bc56cde Compare November 12, 2022 21:32
@paskal
Copy link
Collaborator Author

paskal commented Nov 12, 2022

@umputun done, feel free to re-review.

@umputun umputun merged commit c86bff8 into master Nov 13, 2022
@umputun umputun deleted the paskal/duplicate_types branch November 13, 2022 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants