Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint models/admin.go #241

Merged
merged 1 commit into from
Nov 25, 2016
Merged

Lint models/admin.go #241

merged 1 commit into from
Nov 25, 2016

Conversation

Bwko
Copy link
Member

@Bwko Bwko commented Nov 24, 2016

No description provided.

@strk
Copy link
Member

strk commented Nov 24, 2016

LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Nov 24, 2016
@@ -18,25 +18,27 @@ import (
"code.gitea.io/gitea/modules/setting"
)

type NoticeType int
type noticeType int
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd keep this public, since it's used on a public field of a public struct below (Notice).

👍 for the other changes.

@Bwko
Copy link
Member Author

Bwko commented Nov 24, 2016

@andreynering Updated

type NoticeType int

const (
NoticeRepository NoticeType = iota + 1
noticeRepository NoticeType = iota + 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for missing, but this should be public, too.

@Bwko
Copy link
Member Author

Bwko commented Nov 24, 2016

@andreynering my bad, should have seen that one.

@andreynering
Copy link
Contributor

LGTM

@tboerger tboerger added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Nov 24, 2016
@tboerger
Copy link
Member

LGTM

@tboerger tboerger removed the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Nov 25, 2016
@tboerger tboerger added this to the 1.0.0 milestone Nov 25, 2016
@tboerger tboerger merged commit 574e49c into go-gitea:master Nov 25, 2016
@Bwko Bwko deleted the lint/admin.go branch November 27, 2016 11:06
@lunny
Copy link
Member

lunny commented Nov 28, 2016

resolved #70

ethantkoenig pushed a commit to ethantkoenig/gitea that referenced this pull request Jan 18, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/code-linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants