Use MixedCase constant names

See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
This commit is contained in:
Sandro Santilli 2016-11-07 16:37:32 +01:00
parent 5d430c9e68
commit 80eea77953
10 changed files with 113 additions and 113 deletions

View file

@ -687,7 +687,7 @@ func CompareAndPullRequestPost(ctx *context.Context, form auth.CreateIssueForm)
HeadRepo: headRepo,
BaseRepo: repo,
MergeBase: prInfo.MergeBase,
Type: models.PULL_REQUEST_GITEA,
Type: models.PullRequestGitea,
}
// FIXME: check error in the case two people send pull request at almost same time, give nice error prompt
// instead of 500.