[PR #4149] [MERGED] fix: format go code #42648

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4149
Author: @alwqx
Created: 5/4/2024
Status: Merged
Merged: 5/5/2024
Merged by: @jmorganca

Base: mainHead: fix/format-go-code


📝 Commits (1)

📊 Changes

3 files changed (+73 additions, -73 deletions)

View changed files

📝 app/tray/wintray/menus.go (+71 -71)
📝 examples/go-http-generate/main.go (+1 -1)
📝 types/model/name.go (+1 -1)

📄 Description

Hi, I find some go code is not formatted, So I run gofmt -w . to format them.


🔄 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/4149 **Author:** [@alwqx](https://github.com/alwqx) **Created:** 5/4/2024 **Status:** ✅ Merged **Merged:** 5/5/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `fix/format-go-code` --- ### 📝 Commits (1) - [`f6a7c51`](https://github.com/ollama/ollama/commit/f6a7c51eb39ca52e44f26a6059bd1c59d2d9f5ae) chore: format go code ### 📊 Changes **3 files changed** (+73 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `app/tray/wintray/menus.go` (+71 -71) 📝 `examples/go-http-generate/main.go` (+1 -1) 📝 `types/model/name.go` (+1 -1) </details> ### 📄 Description Hi, I find some go code is not formatted, So I run `gofmt -w .` to format them. --- <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-24 22:23:53 -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#42648