{"id":19451612,"url":"https://github.com/pxyup/go_monorepo","last_synced_at":"2025-10-20T01:41:55.141Z","repository":{"id":50569343,"uuid":"213993866","full_name":"PxyUp/go_monorepo","owner":"PxyUp","description":"Example of Golang-monorepo with Bazel","archived":false,"fork":false,"pushed_at":"2023-02-09T20:36:49.000Z","size":16,"stargazers_count":19,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T15:52:29.156Z","etag":null,"topics":["bazel","bazel-examples","bazel-rules","golang","monorepo"],"latest_commit_sha":null,"homepage":"https://medium.com/@tduble94/create-go-monorepo-with-go-modules-and-bazel-95f00cf571d3","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PxyUp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-09T18:26:58.000Z","updated_at":"2024-01-20T08:09:40.000Z","dependencies_parsed_at":"2024-11-10T16:44:21.407Z","dependency_job_id":"bea0b9b6-4889-40d6-ad57-3b8fbabbac18","html_url":"https://github.com/PxyUp/go_monorepo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Fgo_monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Fgo_monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Fgo_monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Fgo_monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PxyUp","download_url":"https://codeload.github.com/PxyUp/go_monorepo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250754521,"owners_count":21481829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazel","bazel-examples","bazel-rules","golang","monorepo"],"created_at":"2024-11-10T16:42:23.586Z","updated_at":"2025-10-20T01:41:50.115Z","avatar_url":"https://github.com/PxyUp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-monorepo with Bazel\nHello every this is real-life example of monorepository with Bazel and go-modules\n\n# Setup\n\n1) Install Bazel - https://docs.bazel.build/versions/master/install.html\n2) Install Go Modules\n```shell script\ngo mod download\n```\n\n# Build\nAll applications inside packages folder:\n1) Main App\n2) Second app\n\n## Main App\n\nBuild:\n```shell script\nbazel build //packages/main_app:main_app\n```\n\nBin will be here:\n\n` bazel-bin/packages/main_app/darwin_amd64_stripped/main_app`\n\nTest:\n```shell script\nbazel test //packages/main_app/...:all\n```\n## Second App\n\nBuild:\n```shell script\nbazel build //packages/second_app:second_app\n```\n\nBin will be here:\n\n`bazel-bin/packages/second_app/darwin_amd64_stripped/second_app`\n\nTest:\n```shell script\nbazel test //packages/second_app/...:all\n```\n\n# All application\n\nTest:\n```shell script\nbazel test //packages/...:all\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxyup%2Fgo_monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpxyup%2Fgo_monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxyup%2Fgo_monorepo/lists"}