]> source.dussan.org Git - gitea.git/commit
Move sdk structs to modules/structs (#6905)
authorLunny Xiao <xiaolunwen@gmail.com>
Sat, 11 May 2019 10:21:34 +0000 (18:21 +0800)
committerGitHub <noreply@github.com>
Sat, 11 May 2019 10:21:34 +0000 (18:21 +0800)
commit34eee25bd42d19287e3e33afd169cc979ab61f37
tree8def3b2f224745e3fbc0adaec2f01d7f752c443d
parent1658cd04e9918109867f2745ddf760d260681878
Move sdk structs to modules/structs (#6905)

* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
207 files changed:
go.mod
go.sum
integrations/api_admin_test.go
integrations/api_branch_test.go
integrations/api_comment_test.go
integrations/api_fork_test.go
integrations/api_gpg_keys_test.go
integrations/api_helper_for_declarative_test.go
integrations/api_issue_label_test.go
integrations/api_issue_test.go
integrations/api_keys_test.go
integrations/api_org_test.go
integrations/api_pull_test.go
integrations/api_releases_test.go
integrations/api_repo_file_content_test.go
integrations/api_repo_file_create_test.go
integrations/api_repo_file_delete_test.go
integrations/api_repo_file_helpers.go
integrations/api_repo_file_update_test.go
integrations/api_repo_git_blobs_test.go
integrations/api_repo_git_hook_test.go
integrations/api_repo_lfs_locks_test.go
integrations/api_repo_tags_test.go
integrations/api_repo_test.go
integrations/api_team_test.go
integrations/api_token_test.go
integrations/api_user_orgs_test.go
integrations/api_user_search_test.go
integrations/benchmarks_test.go
integrations/links_test.go
integrations/pull_status_test.go
integrations/repo_commits_test.go
integrations/ssh_key_test.go
integrations/version_test.go
models/action.go
models/attachment.go
models/issue.go
models/issue_assignees.go
models/issue_comment.go
models/issue_label.go
models/issue_label_test.go
models/issue_milestone.go
models/issue_milestone_test.go
models/issue_tracked_time.go
models/lfs_lock.go
models/pull.go
models/release.go
models/repo.go
models/review.go
models/status.go
models/user.go
models/webhook.go
models/webhook_dingtalk.go
models/webhook_discord.go
models/webhook_msteams.go
models/webhook_slack.go
models/webhook_telegram.go
models/webhook_test.go
modules/lfs/locks.go
modules/repofiles/blob.go
modules/repofiles/blob_test.go
modules/repofiles/content.go
modules/repofiles/content_test.go
modules/repofiles/delete.go
modules/repofiles/delete_test.go
modules/repofiles/file.go
modules/repofiles/file_test.go
modules/repofiles/tree.go
modules/repofiles/tree_test.go
modules/repofiles/update.go
modules/repofiles/update_test.go
modules/repofiles/verification.go
modules/structs/admin_user.go [new file with mode: 0644]
modules/structs/attachment.go [new file with mode: 0644]
modules/structs/doc.go [new file with mode: 0644]
modules/structs/fork.go [new file with mode: 0644]
modules/structs/git_blob.go [new file with mode: 0644]
modules/structs/git_hook.go [new file with mode: 0644]
modules/structs/hook.go [new file with mode: 0644]
modules/structs/issue.go [new file with mode: 0644]
modules/structs/issue_comment.go [new file with mode: 0644]
modules/structs/issue_label.go [new file with mode: 0644]
modules/structs/issue_milestone.go [new file with mode: 0644]
modules/structs/issue_tracked_time.go [new file with mode: 0644]
modules/structs/lfs_lock.go [new file with mode: 0644]
modules/structs/miscellaneous.go [new file with mode: 0644]
modules/structs/org.go [new file with mode: 0644]
modules/structs/org_member.go [new file with mode: 0644]
modules/structs/org_team.go [new file with mode: 0644]
modules/structs/pull.go [new file with mode: 0644]
modules/structs/release.go [new file with mode: 0644]
modules/structs/repo.go [new file with mode: 0644]
modules/structs/repo_branch.go [new file with mode: 0644]
modules/structs/repo_collaborator.go [new file with mode: 0644]
modules/structs/repo_commit.go [new file with mode: 0644]
modules/structs/repo_file.go [new file with mode: 0644]
modules/structs/repo_key.go [new file with mode: 0644]
modules/structs/repo_refs.go [new file with mode: 0644]
modules/structs/repo_tag.go [new file with mode: 0644]
modules/structs/repo_tree.go [new file with mode: 0644]
modules/structs/repo_watch.go [new file with mode: 0644]
modules/structs/status.go [new file with mode: 0644]
modules/structs/user.go [new file with mode: 0644]
modules/structs/user_app.go [new file with mode: 0644]
modules/structs/user_email.go [new file with mode: 0644]
modules/structs/user_gpgkey.go [new file with mode: 0644]
modules/structs/user_key.go [new file with mode: 0644]
modules/structs/user_search.go [new file with mode: 0644]
modules/structs/utils.go [new file with mode: 0644]
routers/api/v1/admin/org.go
routers/api/v1/admin/repo.go
routers/api/v1/admin/user.go
routers/api/v1/api.go
routers/api/v1/convert/convert.go
routers/api/v1/misc/markdown.go
routers/api/v1/misc/markdown_test.go
routers/api/v1/misc/version.go
routers/api/v1/org/hook.go
routers/api/v1/org/member.go
routers/api/v1/org/org.go
routers/api/v1/org/team.go
routers/api/v1/repo/branch.go
routers/api/v1/repo/collaborators.go
routers/api/v1/repo/commits.go
routers/api/v1/repo/file.go
routers/api/v1/repo/fork.go
routers/api/v1/repo/git_hook.go
routers/api/v1/repo/git_ref.go
routers/api/v1/repo/hook.go
routers/api/v1/repo/issue.go
routers/api/v1/repo/issue_comment.go
routers/api/v1/repo/issue_label.go
routers/api/v1/repo/issue_tracked_time.go
routers/api/v1/repo/key.go
routers/api/v1/repo/label.go
routers/api/v1/repo/milestone.go
routers/api/v1/repo/pull.go
routers/api/v1/repo/release.go
routers/api/v1/repo/release_attachment.go
routers/api/v1/repo/repo.go
routers/api/v1/repo/star.go
routers/api/v1/repo/status.go
routers/api/v1/repo/subscriber.go
routers/api/v1/repo/tag.go
routers/api/v1/swagger/issue.go
routers/api/v1/swagger/key.go
routers/api/v1/swagger/misc.go
routers/api/v1/swagger/options.go
routers/api/v1/swagger/org.go
routers/api/v1/swagger/repo.go
routers/api/v1/swagger/user.go
routers/api/v1/user/app.go
routers/api/v1/user/email.go
routers/api/v1/user/follower.go
routers/api/v1/user/gpg_key.go
routers/api/v1/user/key.go
routers/api/v1/user/repo.go
routers/api/v1/user/star.go
routers/api/v1/user/user.go
routers/api/v1/user/watch.go
routers/api/v1/utils/hook.go
routers/repo/webhook.go
templates/swagger/v1_json.tmpl
vendor/code.gitea.io/sdk/LICENSE [deleted file]
vendor/code.gitea.io/sdk/gitea/admin_org.go [deleted file]
vendor/code.gitea.io/sdk/gitea/admin_repo.go [deleted file]
vendor/code.gitea.io/sdk/gitea/admin_user.go [deleted file]
vendor/code.gitea.io/sdk/gitea/attachment.go [deleted file]
vendor/code.gitea.io/sdk/gitea/doc.go [deleted file]
vendor/code.gitea.io/sdk/gitea/fork.go [deleted file]
vendor/code.gitea.io/sdk/gitea/git_blob.go [deleted file]
vendor/code.gitea.io/sdk/gitea/git_hook.go [deleted file]
vendor/code.gitea.io/sdk/gitea/gitea.go [deleted file]
vendor/code.gitea.io/sdk/gitea/hook.go [deleted file]
vendor/code.gitea.io/sdk/gitea/issue.go [deleted file]
vendor/code.gitea.io/sdk/gitea/issue_comment.go [deleted file]
vendor/code.gitea.io/sdk/gitea/issue_label.go [deleted file]
vendor/code.gitea.io/sdk/gitea/issue_milestone.go [deleted file]
vendor/code.gitea.io/sdk/gitea/issue_tracked_time.go [deleted file]
vendor/code.gitea.io/sdk/gitea/lfs_lock.go [deleted file]
vendor/code.gitea.io/sdk/gitea/miscellaneous.go [deleted file]
vendor/code.gitea.io/sdk/gitea/org.go [deleted file]
vendor/code.gitea.io/sdk/gitea/org_member.go [deleted file]
vendor/code.gitea.io/sdk/gitea/org_team.go [deleted file]
vendor/code.gitea.io/sdk/gitea/org_type.go [deleted file]
vendor/code.gitea.io/sdk/gitea/pull.go [deleted file]
vendor/code.gitea.io/sdk/gitea/release.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_branch.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_collaborator.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_commit.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_file.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_key.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_refs.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_tag.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_tree.go [deleted file]
vendor/code.gitea.io/sdk/gitea/repo_watch.go [deleted file]
vendor/code.gitea.io/sdk/gitea/status.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_app.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_email.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_follow.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_gpgkey.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_key.go [deleted file]
vendor/code.gitea.io/sdk/gitea/user_search.go [deleted file]
vendor/code.gitea.io/sdk/gitea/utils.go [deleted file]
vendor/modules.txt