diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-03-18 17:47:50 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-03-18 17:47:50 -0400 |
commit | 58147bef20d56fd5cb8bccad08eff53cecaa2681 (patch) | |
tree | b803467fe823b455673f8acf16e298f3e30a1dae /models/action.go | |
parent | 76644c2fcc29d89dfea2248966527d1996628184 (diff) | |
parent | ccd43b09b22f551070c2656dd2f4c7f347619a1c (diff) |
Merge pull request #31 from shxsun/master
add some comment
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go index 7917929d..d388bca9 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 |