diff --git a/repo.go b/repo.go index 315c6aa..b79ea22 100644 --- a/repo.go +++ b/repo.go @@ -87,7 +87,7 @@ type MigrateRepoOption struct { CloneAddr string `json:"clone_addr" binding:"Required"` AuthUsername string `json:"auth_username"` AuthPassword string `json:"auth_password"` - Uid int `json:"uid" binding:"Required"` + UID int `json:"uid" binding:"Required"` RepoName string `json:"repo_name" binding:"Required"` Mirror bool `json:"mirror"` Private bool `json:"private"`