maragudk / gomponents-starter-kit

A starter kit for building a web app with gomponents, HTMX, and TailwindCSS in Go.
https://www.gomponents.com
MIT License
35 stars 1 forks source link

Use os.Kill, os.Interrupt instead of syscall.SIGTERM, syscall.SIGINT #2

Closed wneessen closed 20 hours ago

wneessen commented 2 days ago

This PR replaces syscall.SIGTERM and syscall.SIGINT with os.Kill and os.Interrupt as these are the only signal values guaranteed to be present in the os package on all systems. The syscall values will e. g. not work on Windows systems.

wneessen commented 20 hours ago

Closing this PR as not feasable for the template.

markuswustenberg commented 19 hours ago

Thanks for trying to improve the code anyway. 😊