nexryai / lance-light

Yet another human-friendly firewall
https://lance.sda1.net/
MIT License
12 stars 0 forks source link

ExitOnError() やめる #11

Closed nexryai closed 2 months ago

nexryai commented 1 year ago

Goの書き方的に良くないしそもそも脱出したいならpanicを使うべきかもしれない(panic乱用もよろしくないらしいけど)

nexryai commented 9 months ago

と思ったけど案外みんなやってた
https://github.com/search?q=checkError+language%3AGo&type=code&l=Go