aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorshengxiang[skyblue] <ssx205@gmail.com>2014-03-18 21:58:58 +0800
committershengxiang[skyblue] <ssx205@gmail.com>2014-03-18 21:58:58 +0800
commitccd43b09b22f551070c2656dd2f4c7f347619a1c (patch)
treeb803467fe823b455673f8acf16e298f3e30a1dae /models
parent76644c2fcc29d89dfea2248966527d1996628184 (diff)
downloadgitea-ccd43b09b22f551070c2656dd2f4c7f347619a1c.tar.gz
gitea-ccd43b09b22f551070c2656dd2f4c7f347619a1c.zip
add some comment
Diffstat (limited to 'models')
-rw-r--r--models/action.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go
index 7917929df4..d388bca991 100644
--- a/models/action.go
+++ b/models/action.go
@@ -22,8 +22,8 @@ const (
// Action represents user operation type and information to the repository.
type Action struct {
Id int64
- UserId int64 // Receiver user id.
- OpType int
+ UserId int64 // Receiver user id.
+ OpType int // Operations: CREATE DELETE STAR ...
ActUserId int64 // Action user id.
ActUserName string // Action user name.
RepoId int64