add some comment

This commit is contained in:
shengxiang[skyblue] 2014-03-18 21:58:58 +08:00
parent 76644c2fcc
commit ccd43b09b2
4 changed files with 37 additions and 31 deletions

View file

@ -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