aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/repo.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-17 04:33:59 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-17 04:33:59 -0400
commit5c3054c3b7387df56db8c193db7c662802fb4a50 (patch)
tree35721683878c4f6ae36cddf444bd55b099434f1e /modules/auth/repo.go
parentcf9fa06eae68cea08c3f2fb28644a80bb08be2c3 (diff)
parent24d91ecda8c819a33f326ff724559456bcae6d71 (diff)
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'modules/auth/repo.go')
-rw-r--r--modules/auth/repo.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/auth/repo.go b/modules/auth/repo.go
index ac1b6b69..2cc93744 100644
--- a/modules/auth/repo.go
+++ b/modules/auth/repo.go
@@ -17,7 +17,6 @@ import (
)
type CreateRepoForm struct {
- UserId int64 `form:"userId"`
RepoName string `form:"repo" binding:"Required;AlphaDash"`
Visibility string `form:"visibility"`
Description string `form:"desc" binding:"MaxSize(100)"`
@@ -52,9 +51,3 @@ func (f *CreateRepoForm) Validate(errors *binding.Errors, req *http.Request, con
validate(errors, data, f)
}
-
-type DeleteRepoForm struct {
- UserId int64 `form:"userId" binding:"Required"`
- UserName string `form:"userName" binding:"Required"`
- RepoId int64 `form:"repoId" binding:"Required"`
-}