antonmedv / walk

Terminal file manager
MIT License
3.25k stars 89 forks source link

Fix minor issues in main.go (from golint). #122

Closed marcopaganini closed 11 months ago

antonmedv commented 11 months ago

Not sure what this pr fixes, besides code style.

marcopaganini commented 11 months ago

It basically makes go linting tools happy. They're very commonly used in Go to detect all sorts of problems and code simplifications. There should be no change in the program itself, just make it a bit more concise and readable.

antonmedv commented 11 months ago

Well) I like my code more the one linter produces in this specific case.

marcopaganini commented 11 months ago

No worries! Just reject the PR. 😁

On Thu, Nov 9, 2023, 23:47 Anton Medvedev @.***> wrote:

Well) I like my code more the one linter produces in this specific case.

— Reply to this email directly, view it on GitHub https://github.com/antonmedv/walk/pull/122#issuecomment-1805247061, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYUYBGEEENA5EHIYCYU7V3YDXLYTAVCNFSM6AAAAAA7D4JA2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGI2DOMBWGE . You are receiving this because you authored the thread.Message ID: @.***>