aboutsummaryrefslogtreecommitdiff
path: root/models/issue.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-22 00:50:47 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-22 00:50:47 +0800
commit17da2fd2e30e85909394bc58069ecab14d8d8577 (patch)
treed80e786818d20aed12b7a84f6a9961468a7f70ec /models/issue.go
parentefdaf6ee1536f043d9e242dc16a096c99ec1bfda (diff)
parentf219ddcf4ef13b9d5de129da4eb2b56dbc899d61 (diff)
merged
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go
new file mode 100644
index 00000000..c669d201
--- /dev/null
+++ b/models/issue.go
@@ -0,0 +1,19 @@
+// Copyright 2014 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package models
+
+type Issue struct {
+ Id int64
+ RepoId int64 `xorm:"index"`
+ PosterId int64
+}
+
+type PullRequest struct {
+ Id int64
+}
+
+type Comment struct {
+ Id int64
+}