diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f71254f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "external/go"] + path = external/go + url = https://github.com/dappcore/go.git + branch = dev diff --git a/external/go b/external/go new file mode 160000 index 0000000..d661b70 --- /dev/null +++ b/external/go @@ -0,0 +1 @@ +Subproject commit d661b703e16183b3cbab101de189f688888a1174 diff --git a/go.work b/go.work new file mode 100644 index 0000000..62fdf28 --- /dev/null +++ b/go.work @@ -0,0 +1,6 @@ +go 1.26.0 + +use ( + ./go + ./external/go +) diff --git a/actions.go b/go/actions.go similarity index 100% rename from actions.go rename to go/actions.go diff --git a/actions_test.go b/go/actions_test.go similarity index 100% rename from actions_test.go rename to go/actions_test.go diff --git a/activitypub.go b/go/activitypub.go similarity index 100% rename from activitypub.go rename to go/activitypub.go diff --git a/activitypub_test.go b/go/activitypub_test.go similarity index 100% rename from activitypub_test.go rename to go/activitypub_test.go diff --git a/admin.go b/go/admin.go similarity index 100% rename from admin.go rename to go/admin.go diff --git a/admin_test.go b/go/admin_test.go similarity index 100% rename from admin_test.go rename to go/admin_test.go diff --git a/ax7_generated_test.go b/go/ax7_generated_test.go similarity index 100% rename from ax7_generated_test.go rename to go/ax7_generated_test.go diff --git a/ax_stringer_test.go b/go/ax_stringer_test.go similarity index 100% rename from ax_stringer_test.go rename to go/ax_stringer_test.go diff --git a/branches.go b/go/branches.go similarity index 100% rename from branches.go rename to go/branches.go diff --git a/branches_extra_test.go b/go/branches_extra_test.go similarity index 100% rename from branches_extra_test.go rename to go/branches_extra_test.go diff --git a/branches_test.go b/go/branches_test.go similarity index 100% rename from branches_test.go rename to go/branches_test.go diff --git a/client.go b/go/client.go similarity index 100% rename from client.go rename to go/client.go diff --git a/client_test.go b/go/client_test.go similarity index 100% rename from client_test.go rename to go/client_test.go diff --git a/cmd/forgegen/ax7_generated_test.go b/go/cmd/forgegen/ax7_generated_test.go similarity index 100% rename from cmd/forgegen/ax7_generated_test.go rename to go/cmd/forgegen/ax7_generated_test.go diff --git a/cmd/forgegen/generator.go b/go/cmd/forgegen/generator.go similarity index 100% rename from cmd/forgegen/generator.go rename to go/cmd/forgegen/generator.go diff --git a/cmd/forgegen/generator_test.go b/go/cmd/forgegen/generator_test.go similarity index 100% rename from cmd/forgegen/generator_test.go rename to go/cmd/forgegen/generator_test.go diff --git a/cmd/forgegen/helpers.go b/go/cmd/forgegen/helpers.go similarity index 100% rename from cmd/forgegen/helpers.go rename to go/cmd/forgegen/helpers.go diff --git a/cmd/forgegen/main.go b/go/cmd/forgegen/main.go similarity index 100% rename from cmd/forgegen/main.go rename to go/cmd/forgegen/main.go diff --git a/cmd/forgegen/main_test.go b/go/cmd/forgegen/main_test.go similarity index 100% rename from cmd/forgegen/main_test.go rename to go/cmd/forgegen/main_test.go diff --git a/cmd/forgegen/parser.go b/go/cmd/forgegen/parser.go similarity index 100% rename from cmd/forgegen/parser.go rename to go/cmd/forgegen/parser.go diff --git a/cmd/forgegen/parser_test.go b/go/cmd/forgegen/parser_test.go similarity index 100% rename from cmd/forgegen/parser_test.go rename to go/cmd/forgegen/parser_test.go diff --git a/commits.go b/go/commits.go similarity index 100% rename from commits.go rename to go/commits.go diff --git a/commits_extra_test.go b/go/commits_extra_test.go similarity index 100% rename from commits_extra_test.go rename to go/commits_extra_test.go diff --git a/commits_test.go b/go/commits_test.go similarity index 100% rename from commits_test.go rename to go/commits_test.go diff --git a/compat_helpers.go b/go/compat_helpers.go similarity index 100% rename from compat_helpers.go rename to go/compat_helpers.go diff --git a/config.go b/go/config.go similarity index 100% rename from config.go rename to go/config.go diff --git a/config_test.go b/go/config_test.go similarity index 100% rename from config_test.go rename to go/config_test.go diff --git a/contents.go b/go/contents.go similarity index 100% rename from contents.go rename to go/contents.go diff --git a/contents_test.go b/go/contents_test.go similarity index 100% rename from contents_test.go rename to go/contents_test.go diff --git a/doc.go b/go/doc.go similarity index 100% rename from doc.go rename to go/doc.go diff --git a/forge.go b/go/forge.go similarity index 100% rename from forge.go rename to go/forge.go diff --git a/forge_test.go b/go/forge_test.go similarity index 100% rename from forge_test.go rename to go/forge_test.go diff --git a/go.mod b/go/go.mod similarity index 100% rename from go.mod rename to go/go.mod diff --git a/go.sum b/go/go.sum similarity index 100% rename from go.sum rename to go/go.sum diff --git a/helpers.go b/go/helpers.go similarity index 100% rename from helpers.go rename to go/helpers.go diff --git a/issues.go b/go/issues.go similarity index 100% rename from issues.go rename to go/issues.go diff --git a/issues_extra_test.go b/go/issues_extra_test.go similarity index 100% rename from issues_extra_test.go rename to go/issues_extra_test.go diff --git a/issues_test.go b/go/issues_test.go similarity index 100% rename from issues_test.go rename to go/issues_test.go diff --git a/labels.go b/go/labels.go similarity index 100% rename from labels.go rename to go/labels.go diff --git a/labels_test.go b/go/labels_test.go similarity index 100% rename from labels_test.go rename to go/labels_test.go diff --git a/milestones.go b/go/milestones.go similarity index 100% rename from milestones.go rename to go/milestones.go diff --git a/milestones_test.go b/go/milestones_test.go similarity index 100% rename from milestones_test.go rename to go/milestones_test.go diff --git a/misc.go b/go/misc.go similarity index 100% rename from misc.go rename to go/misc.go diff --git a/misc_test.go b/go/misc_test.go similarity index 100% rename from misc_test.go rename to go/misc_test.go diff --git a/notifications.go b/go/notifications.go similarity index 100% rename from notifications.go rename to go/notifications.go diff --git a/notifications_test.go b/go/notifications_test.go similarity index 100% rename from notifications_test.go rename to go/notifications_test.go diff --git a/orgs.go b/go/orgs.go similarity index 100% rename from orgs.go rename to go/orgs.go diff --git a/orgs_extra_test.go b/go/orgs_extra_test.go similarity index 100% rename from orgs_extra_test.go rename to go/orgs_extra_test.go diff --git a/orgs_test.go b/go/orgs_test.go similarity index 100% rename from orgs_test.go rename to go/orgs_test.go diff --git a/packages.go b/go/packages.go similarity index 100% rename from packages.go rename to go/packages.go diff --git a/packages_test.go b/go/packages_test.go similarity index 100% rename from packages_test.go rename to go/packages_test.go diff --git a/pagination.go b/go/pagination.go similarity index 100% rename from pagination.go rename to go/pagination.go diff --git a/pagination_test.go b/go/pagination_test.go similarity index 100% rename from pagination_test.go rename to go/pagination_test.go diff --git a/params.go b/go/params.go similarity index 100% rename from params.go rename to go/params.go diff --git a/params_test.go b/go/params_test.go similarity index 100% rename from params_test.go rename to go/params_test.go diff --git a/pulls.go b/go/pulls.go similarity index 100% rename from pulls.go rename to go/pulls.go diff --git a/pulls_extra_test.go b/go/pulls_extra_test.go similarity index 100% rename from pulls_extra_test.go rename to go/pulls_extra_test.go diff --git a/pulls_test.go b/go/pulls_test.go similarity index 100% rename from pulls_test.go rename to go/pulls_test.go diff --git a/releases.go b/go/releases.go similarity index 100% rename from releases.go rename to go/releases.go diff --git a/releases_extra_test.go b/go/releases_extra_test.go similarity index 100% rename from releases_extra_test.go rename to go/releases_extra_test.go diff --git a/releases_test.go b/go/releases_test.go similarity index 100% rename from releases_test.go rename to go/releases_test.go diff --git a/repos.go b/go/repos.go similarity index 100% rename from repos.go rename to go/repos.go diff --git a/repos_test.go b/go/repos_test.go similarity index 100% rename from repos_test.go rename to go/repos_test.go diff --git a/resource.go b/go/resource.go similarity index 100% rename from resource.go rename to go/resource.go diff --git a/resource_string_test.go b/go/resource_string_test.go similarity index 100% rename from resource_string_test.go rename to go/resource_string_test.go diff --git a/resource_test.go b/go/resource_test.go similarity index 100% rename from resource_test.go rename to go/resource_test.go diff --git a/service_pagination_extra_test.go b/go/service_pagination_extra_test.go similarity index 100% rename from service_pagination_extra_test.go rename to go/service_pagination_extra_test.go diff --git a/service_string.go b/go/service_string.go similarity index 100% rename from service_string.go rename to go/service_string.go diff --git a/stringer_nil_test.go b/go/stringer_nil_test.go similarity index 100% rename from stringer_nil_test.go rename to go/stringer_nil_test.go diff --git a/teams.go b/go/teams.go similarity index 100% rename from teams.go rename to go/teams.go diff --git a/teams_test.go b/go/teams_test.go similarity index 100% rename from teams_test.go rename to go/teams_test.go diff --git a/testdata/swagger.v1.json b/go/testdata/swagger.v1.json similarity index 100% rename from testdata/swagger.v1.json rename to go/testdata/swagger.v1.json diff --git a/tests/cli/forge/Taskfile.yaml b/go/tests/cli/forge/Taskfile.yaml similarity index 100% rename from tests/cli/forge/Taskfile.yaml rename to go/tests/cli/forge/Taskfile.yaml diff --git a/tests/cli/forge/main.go b/go/tests/cli/forge/main.go similarity index 100% rename from tests/cli/forge/main.go rename to go/tests/cli/forge/main.go diff --git a/types/action.go b/go/types/action.go similarity index 100% rename from types/action.go rename to go/types/action.go diff --git a/types/activity.go b/go/types/activity.go similarity index 100% rename from types/activity.go rename to go/types/activity.go diff --git a/types/admin.go b/go/types/admin.go similarity index 100% rename from types/admin.go rename to go/types/admin.go diff --git a/types/ax7_generated_test.go b/go/types/ax7_generated_test.go similarity index 100% rename from types/ax7_generated_test.go rename to go/types/ax7_generated_test.go diff --git a/types/branch.go b/go/types/branch.go similarity index 100% rename from types/branch.go rename to go/types/branch.go diff --git a/types/comment.go b/go/types/comment.go similarity index 100% rename from types/comment.go rename to go/types/comment.go diff --git a/types/commit.go b/go/types/commit.go similarity index 100% rename from types/commit.go rename to go/types/commit.go diff --git a/types/common.go b/go/types/common.go similarity index 100% rename from types/common.go rename to go/types/common.go diff --git a/types/content.go b/go/types/content.go similarity index 100% rename from types/content.go rename to go/types/content.go diff --git a/types/content_compat.go b/go/types/content_compat.go similarity index 100% rename from types/content_compat.go rename to go/types/content_compat.go diff --git a/types/error.go b/go/types/error.go similarity index 100% rename from types/error.go rename to go/types/error.go diff --git a/types/federation.go b/go/types/federation.go similarity index 100% rename from types/federation.go rename to go/types/federation.go diff --git a/types/generate.go b/go/types/generate.go similarity index 100% rename from types/generate.go rename to go/types/generate.go diff --git a/types/git.go b/go/types/git.go similarity index 100% rename from types/git.go rename to go/types/git.go diff --git a/types/hook.go b/go/types/hook.go similarity index 100% rename from types/hook.go rename to go/types/hook.go diff --git a/types/issue.go b/go/types/issue.go similarity index 100% rename from types/issue.go rename to go/types/issue.go diff --git a/types/key.go b/go/types/key.go similarity index 100% rename from types/key.go rename to go/types/key.go diff --git a/types/label.go b/go/types/label.go similarity index 100% rename from types/label.go rename to go/types/label.go diff --git a/types/label_compat.go b/go/types/label_compat.go similarity index 100% rename from types/label_compat.go rename to go/types/label_compat.go diff --git a/types/label_compat_test.go b/go/types/label_compat_test.go similarity index 100% rename from types/label_compat_test.go rename to go/types/label_compat_test.go diff --git a/types/list_options_compat.go b/go/types/list_options_compat.go similarity index 100% rename from types/list_options_compat.go rename to go/types/list_options_compat.go diff --git a/types/milestone.go b/go/types/milestone.go similarity index 100% rename from types/milestone.go rename to go/types/milestone.go diff --git a/types/misc.go b/go/types/misc.go similarity index 100% rename from types/misc.go rename to go/types/misc.go diff --git a/types/misc_compat.go b/go/types/misc_compat.go similarity index 100% rename from types/misc_compat.go rename to go/types/misc_compat.go diff --git a/types/misc_compat_test.go b/go/types/misc_compat_test.go similarity index 100% rename from types/misc_compat_test.go rename to go/types/misc_compat_test.go diff --git a/types/notification.go b/go/types/notification.go similarity index 100% rename from types/notification.go rename to go/types/notification.go diff --git a/types/oauth.go b/go/types/oauth.go similarity index 100% rename from types/oauth.go rename to go/types/oauth.go diff --git a/types/org.go b/go/types/org.go similarity index 100% rename from types/org.go rename to go/types/org.go diff --git a/types/package.go b/go/types/package.go similarity index 100% rename from types/package.go rename to go/types/package.go diff --git a/types/pr.go b/go/types/pr.go similarity index 100% rename from types/pr.go rename to go/types/pr.go diff --git a/types/quota.go b/go/types/quota.go similarity index 100% rename from types/quota.go rename to go/types/quota.go diff --git a/types/reaction.go b/go/types/reaction.go similarity index 100% rename from types/reaction.go rename to go/types/reaction.go diff --git a/types/release.go b/go/types/release.go similarity index 100% rename from types/release.go rename to go/types/release.go diff --git a/types/repo.go b/go/types/repo.go similarity index 100% rename from types/repo.go rename to go/types/repo.go diff --git a/types/review.go b/go/types/review.go similarity index 100% rename from types/review.go rename to go/types/review.go diff --git a/types/settings.go b/go/types/settings.go similarity index 100% rename from types/settings.go rename to go/types/settings.go diff --git a/types/status.go b/go/types/status.go similarity index 100% rename from types/status.go rename to go/types/status.go diff --git a/types/tag.go b/go/types/tag.go similarity index 100% rename from types/tag.go rename to go/types/tag.go diff --git a/types/team.go b/go/types/team.go similarity index 100% rename from types/team.go rename to go/types/team.go diff --git a/types/time_tracking.go b/go/types/time_tracking.go similarity index 100% rename from types/time_tracking.go rename to go/types/time_tracking.go diff --git a/types/topic.go b/go/types/topic.go similarity index 100% rename from types/topic.go rename to go/types/topic.go diff --git a/types/user.go b/go/types/user.go similarity index 100% rename from types/user.go rename to go/types/user.go diff --git a/types/wiki.go b/go/types/wiki.go similarity index 100% rename from types/wiki.go rename to go/types/wiki.go diff --git a/users.go b/go/users.go similarity index 100% rename from users.go rename to go/users.go diff --git a/users_extra_test.go b/go/users_extra_test.go similarity index 100% rename from users_extra_test.go rename to go/users_extra_test.go diff --git a/users_test.go b/go/users_test.go similarity index 100% rename from users_test.go rename to go/users_test.go diff --git a/webhooks.go b/go/webhooks.go similarity index 100% rename from webhooks.go rename to go/webhooks.go diff --git a/webhooks_extra_test.go b/go/webhooks_extra_test.go similarity index 100% rename from webhooks_extra_test.go rename to go/webhooks_extra_test.go diff --git a/webhooks_test.go b/go/webhooks_test.go similarity index 100% rename from webhooks_test.go rename to go/webhooks_test.go diff --git a/wiki.go b/go/wiki.go similarity index 100% rename from wiki.go rename to go/wiki.go diff --git a/wiki_test.go b/go/wiki_test.go similarity index 100% rename from wiki_test.go rename to go/wiki_test.go