[PR #8196] [MERGED] chore: upgrade to gods v2 #12660

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8196
Author: @mxyng
Created: 12/21/2024
Status: Merged
Merged: 1/10/2025
Merged by: @mxyng

Base: mainHead: mxyng/gods-v2


📝 Commits (1)

  • cb40d60 chore: upgrade to gods v2

📊 Changes

5 files changed (+111 additions, -132 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 readline/buffer.go (+92 -107)
📝 readline/history.go (+13 -19)
📝 readline/readline.go (+3 -3)

📄 Description

gods v2 uses go generics rather than interfaces which simplifies the code considerably


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/8196 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 12/21/2024 **Status:** ✅ Merged **Merged:** 1/10/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/gods-v2` --- ### 📝 Commits (1) - [`cb40d60`](https://github.com/ollama/ollama/commit/cb40d60469fb83179b50f62688c7d6c9c7b3015c) chore: upgrade to gods v2 ### 📊 Changes **5 files changed** (+111 additions, -132 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `readline/buffer.go` (+92 -107) 📝 `readline/history.go` (+13 -19) 📝 `readline/readline.go` (+3 -3) </details> ### 📄 Description gods v2 uses go generics rather than interfaces which simplifies the code considerably --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:06:13 -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#12660