[PR #11502] refactor: use slices.Equal to simplify code #13557

Closed
opened 2026-04-13 00:30:07 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11502

State: closed
Merged: Yes


In the Go 1.21 standard library, a new function has been introduced that enhances code conciseness and readability. It can be find here.

**Original Pull Request:** https://github.com/ollama/ollama/pull/11502 **State:** closed **Merged:** Yes --- In the Go 1.21 standard library, a new function has been introduced that enhances code conciseness and readability. It can be find [here](https://pkg.go.dev/slices@go1.21.1#Equal).
GiteaMirror added the pull-request label 2026-04-13 00:30:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13557