[PR #1708] [MERGED] follow best practices by adding resp.Body.Close() #10653

Closed
opened 2026-04-12 23:06:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1708
Author: @Icelain
Created: 12/25/2023
Status: Merged
Merged: 12/25/2023
Merged by: @jmorganca

Base: mainHead: patch-1


📝 Commits (1)

  • 4c783d3 follow best practices by adding resp.Body.Close()

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 examples/golang-simplegenerate/main.go (+2 -0)

📄 Description

No description provided


🔄 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/1708 **Author:** [@Icelain](https://github.com/Icelain) **Created:** 12/25/2023 **Status:** ✅ Merged **Merged:** 12/25/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`4c783d3`](https://github.com/ollama/ollama/commit/4c783d31bcc78852b4edbddc9ef5cd2d2192122b) follow best practices by adding resp.Body.Close() ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `examples/golang-simplegenerate/main.go` (+2 -0) </details> ### 📄 Description _No description provided_ --- <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-12 23:06:22 -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#10653