[PR #1210] [MERGED] Move user_follow to separate file #15812

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1210
Author: @ethantkoenig
Created: 3/10/2017
Status: Merged
Merged: 3/11/2017
Merged by: @lunny

Base: masterHead: test/user_follow


📝 Commits (1)

  • 18ef6db Move user_follow to separate file

📊 Changes

5 files changed (+123 additions, -72 deletions)

View changed files

models/fixtures/follow.yml (+4 -0)
📝 models/fixtures/user.yml (+3 -0)
📝 models/user.go (+0 -72)
models/user_follow.go (+71 -0)
models/user_follow_test.go (+45 -0)

📄 Description

Move user-following code from models/user.go to models/user_follow.go. Also add unit tests for models/user_follow.go.


🔄 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/1210 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 3/10/2017 **Status:** ✅ Merged **Merged:** 3/11/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `test/user_follow` --- ### 📝 Commits (1) - [`18ef6db`](https://github.com/go-gitea/gitea/commit/18ef6db2199d32d82c0ee41cb40f0081c7d84ebb) Move user_follow to separate file ### 📊 Changes **5 files changed** (+123 additions, -72 deletions) <details> <summary>View changed files</summary> ➕ `models/fixtures/follow.yml` (+4 -0) 📝 `models/fixtures/user.yml` (+3 -0) 📝 `models/user.go` (+0 -72) ➕ `models/user_follow.go` (+71 -0) ➕ `models/user_follow_test.go` (+45 -0) </details> ### 📄 Description Move user-following code from `models/user.go` to `models/user_follow.go`. Also add unit tests for `models/user_follow.go`. --- <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:55:11 -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#15812