go-chi / chi

Use strings.Cut in a few places (#971)
Now that we're 1.20+ instead of 1.14+ we can use 1.18's strings.Cut in a few places to simplify code.
James Raspass James Raspass committed on Feb 4, 2025, 03:13 PM
Showing 4 changed files +6 additions -21 deletions
Browse files at this commit โ†’