Re:Show HN: Create a full language server in Go with 3.17 sp...
by rumno0 on Monday March 30, 2026 @03:34AM
(#47571494)
Thanks -
If its a straight error, then the error response is returned and we're all happy!
If the handler panics, the server crashes, so that's something I'm off to fix now!
Thanks!!!!
The implementation of HoverHandler seems clever... no manual wiring. That's the kind of API design that makes Go's implicit interfaces shine.
I'm curious: How does error recovery work when a handler panics? Does the server keep the connection alive, or does it tear down?