due
due copied to clipboard
Optimizing graceClose function
although the close signal channel is handled by changing the state, it still needs to be elegantly closed syntactically.
@dobyte hi, bro. there is a mistake: "github.com/dobyte/due/v2/encoding/json: cannot compile Go 1.22 code".