antonmedv / walk

Terminal file manager
MIT License
3.29k stars 95 forks source link

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

Closed marcopaganini closed 1 year ago

antonmedv commented 1 year ago

Not sure what this pr fixes, besides code style.

marcopaganini commented 1 year 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 1 year ago

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

marcopaganini commented 1 year 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: @.***>