[PR #110] [MERGED] Use MixedCase constant names #15154

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/110
Author: @strk
Created: 11/7/2016
Status: Merged
Merged: 11/7/2016
Merged by: @strk

Base: masterHead: MixedCaseConst


📝 Commits (10+)

📊 Changes

47 files changed (+398 additions, -398 deletions)

View changed files

📝 cmd/serve.go (+8 -8)
📝 models/access.go (+19 -19)
📝 models/action.go (+26 -26)
📝 models/admin.go (+3 -3)
📝 models/git_diff.go (+33 -33)
📝 models/git_diff_test.go (+2 -2)
📝 models/issue.go (+29 -29)
📝 models/issue_comment.go (+28 -28)
📝 models/login_source.go (+38 -38)
📝 models/mail.go (+14 -14)
📝 models/org.go (+2 -2)
📝 models/org_team.go (+1 -1)
📝 models/pull.go (+25 -25)
📝 models/repo.go (+13 -13)
📝 models/repo_collaboration.go (+5 -5)
📝 models/repo_mirror.go (+3 -3)
📝 models/ssh_key.go (+10 -10)
📝 models/user.go (+8 -8)
📝 models/webhook.go (+19 -19)
📝 models/webhook_slack.go (+12 -12)

...and 27 more files

📄 Description

See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps


🔄 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/110 **Author:** [@strk](https://github.com/strk) **Created:** 11/7/2016 **Status:** ✅ Merged **Merged:** 11/7/2016 **Merged by:** [@strk](https://github.com/strk) **Base:** `master` ← **Head:** `MixedCaseConst` --- ### 📝 Commits (10+) - [`80eea77`](https://github.com/go-gitea/gitea/commit/80eea77953ab5f1f12e1a01f1930b72c360a5c76) Use MixedCase constant names - [`0b62aeb`](https://github.com/go-gitea/gitea/commit/0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0) More MixedCase consts - [`f388661`](https://github.com/go-gitea/gitea/commit/f388661bda8097b5ff01548e6153c566690c9b5e) ACCESS_MODE_* -> AccessMode* - [`f6a11e0`](https://github.com/go-gitea/gitea/commit/f6a11e0de1ab950b42679d6be9dc0f3ac86c3399) More MixedCase consts - [`60c82a8`](https://github.com/go-gitea/gitea/commit/60c82a87805821ad6eaf5aeb58a3a266b56a30ff) More... - [`f14232d`](https://github.com/go-gitea/gitea/commit/f14232d2e982b7e6021df1b3c001269fa652632f) This one I overlooked before - [`64196d4`](https://github.com/go-gitea/gitea/commit/64196d40361098568e6944e1b79bda5fe1e4ac06) More overlooks - [`7612b5e`](https://github.com/go-gitea/gitea/commit/7612b5ec40955a5a0b4d281645e33a86d1632f70) More mixage - [`05fd9d3`](https://github.com/go-gitea/gitea/commit/05fd9d3f096e53bcf80b73345d6fa567fbf017e6) Security protocols - [`b3828e3`](https://github.com/go-gitea/gitea/commit/b3828e38a5fbb92a92bae11e1e126b87fbad09c8) more ### 📊 Changes **47 files changed** (+398 additions, -398 deletions) <details> <summary>View changed files</summary> 📝 `cmd/serve.go` (+8 -8) 📝 `models/access.go` (+19 -19) 📝 `models/action.go` (+26 -26) 📝 `models/admin.go` (+3 -3) 📝 `models/git_diff.go` (+33 -33) 📝 `models/git_diff_test.go` (+2 -2) 📝 `models/issue.go` (+29 -29) 📝 `models/issue_comment.go` (+28 -28) 📝 `models/login_source.go` (+38 -38) 📝 `models/mail.go` (+14 -14) 📝 `models/org.go` (+2 -2) 📝 `models/org_team.go` (+1 -1) 📝 `models/pull.go` (+25 -25) 📝 `models/repo.go` (+13 -13) 📝 `models/repo_collaboration.go` (+5 -5) 📝 `models/repo_mirror.go` (+3 -3) 📝 `models/ssh_key.go` (+10 -10) 📝 `models/user.go` (+8 -8) 📝 `models/webhook.go` (+19 -19) 📝 `models/webhook_slack.go` (+12 -12) _...and 27 more files_ </details> ### 📄 Description See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps --- <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:40:05 -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#15154