[PR #1349] [MERGED] refactor: remove workaround after the golang 1.7 release. #15874

Closed
opened 2025-11-02 11:56:37 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1349
Author: @appleboy
Created: 3/21/2017
Status: Merged
Merged: 3/29/2017
Merged by: @lunny

Base: masterHead: refactor3


📝 Commits (5)

  • e4dd313 refactor: remove workaround after the golang 1.7 release.
  • 9fdca0a remove unused import.
  • 0a10ccc refactor: Add remove function.
  • 25174f0 refactor: rename
  • 0f3adcc refactor: update build flag

📊 Changes

3 files changed (+34 additions, -19 deletions)

View changed files

📝 models/admin.go (+4 -19)
modules/util/remove.go (+14 -0)
modules/util/remove_windows.go (+16 -0)

📄 Description

This workaround has been fixed on Go 1.7.


🔄 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/go-gitea/gitea/pull/1349 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 3/21/2017 **Status:** ✅ Merged **Merged:** 3/29/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `refactor3` --- ### 📝 Commits (5) - [`e4dd313`](https://github.com/go-gitea/gitea/commit/e4dd313c16ad6adf4e936ee7182c2b3a779203a6) refactor: remove workaround after the golang 1.7 release. - [`9fdca0a`](https://github.com/go-gitea/gitea/commit/9fdca0ae1064a0fca922a73bcc5524ad09f289d1) remove unused import. - [`0a10ccc`](https://github.com/go-gitea/gitea/commit/0a10cccb4cac1e0821b27f25b399ad55cea87f86) refactor: Add remove function. - [`25174f0`](https://github.com/go-gitea/gitea/commit/25174f0ae18b46fc292a76fb08d75d8404bf07b6) refactor: rename - [`0f3adcc`](https://github.com/go-gitea/gitea/commit/0f3adcc6ed9aaf90dd62acc6e124bba4631c9f23) refactor: update build flag ### 📊 Changes **3 files changed** (+34 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `models/admin.go` (+4 -19) ➕ `modules/util/remove.go` (+14 -0) ➕ `modules/util/remove_windows.go` (+16 -0) </details> ### 📄 Description This workaround has been fixed on Go 1.7. --- <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 2025-11-02 11:56:37 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15874