[PR #1621] [CLOSED] Add Example Golang Stream Chat #57327

Closed
opened 2026-04-29 11:54:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1621
Author: @Hidayathamir
Created: 12/20/2023
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 540eec9 feat: add example golang stream chat

📊 Changes

4 files changed (+118 additions, -0 deletions)

View changed files

examples/golang-streamchat/README.md (+31 -0)
examples/golang-streamchat/assets/get-started.gif (+0 -0)
examples/golang-streamchat/go.mod (+3 -0)
examples/golang-streamchat/main.go (+84 -0)

📄 Description

golang-streamchat

This is a simple golang code to stream response from llama2.

get-started


🔄 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/1621 **Author:** [@Hidayathamir](https://github.com/Hidayathamir) **Created:** 12/20/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`540eec9`](https://github.com/ollama/ollama/commit/540eec985fd6f9b5d4db018b7461621f850defb1) feat: add example golang stream chat ### 📊 Changes **4 files changed** (+118 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `examples/golang-streamchat/README.md` (+31 -0) ➕ `examples/golang-streamchat/assets/get-started.gif` (+0 -0) ➕ `examples/golang-streamchat/go.mod` (+3 -0) ➕ `examples/golang-streamchat/main.go` (+84 -0) </details> ### 📄 Description # golang-streamchat This is a simple golang code to stream response from llama2. ![get-started](https://github.com/jmorganca/ollama/assets/57469556/b6c0a892-625e-4ceb-b288-6b7899053a80) --- <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-29 11:54:33 -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#57327