I tried implementing a UNIX socket handler (L58) in Go  in the following file. Would you consider this OK, valid, or correct?

The `.sock` file is cleaned up on `ctx.Done()`. I kind of achieved my goal. I have to add a pre-cleanup in case of an ungraceful shutdown. However, in case of a canceled context, it works right now

https://forgejo.lukasrotermund.de/lrotermund/libre-activity-tracker/src/branch/wip-tracker-and-socket/internal/tracker/socket_server.go

#go #golang #UnixSocket

Cookie monster!

@lukasrotermund Haven't read the whole thing, but you no longer need to defer Close on timers. They now use weak pointers international which are GC friendly.