CortexTheseus
CortexTheseus copied to clipboard
refactor: use slices.Backward to simplify the code
There is a new function added in the go1.23 standard library, which can make the code more concise and easy to read.
More info can see https://github.com/golang/go/issues/61899