{"id":37141597,"url":"https://github.com/notsu/go-monorepo","last_synced_at":"2026-01-14T16:37:26.244Z","repository":{"id":57661885,"uuid":"160161982","full_name":"notsu/go-monorepo","owner":"notsu","description":"A proof of concept about Golang's module with Monorepo.","archived":false,"fork":false,"pushed_at":"2018-12-03T11:11:02.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T07:26:35.905Z","etag":null,"topics":["go","golang","gomod","gomodule","monorepo"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/notsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-03T09:03:03.000Z","updated_at":"2020-09-08T18:27:07.000Z","dependencies_parsed_at":"2022-09-12T21:50:38.262Z","dependency_job_id":null,"html_url":"https://github.com/notsu/go-monorepo","commit_stats":null,"previous_names":["notsu/gomono"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/notsu/go-monorepo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notsu%2Fgo-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notsu%2Fgo-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notsu%2Fgo-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notsu%2Fgo-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notsu","download_url":"https://codeload.github.com/notsu/go-monorepo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notsu%2Fgo-monorepo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28426111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:32:27.303Z","status":"ssl_error","status_checked_at":"2026-01-14T16:28:36.419Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","golang","gomod","gomodule","monorepo"],"created_at":"2026-01-14T16:37:25.740Z","updated_at":"2026-01-14T16:37:26.236Z","avatar_url":"https://github.com/notsu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang's module with Monorepo\n\na proof of concept of Monorepo with Golang's module (`go mod`)\n\n## Getting Started\n\nIn this project we will have two services named `user` and `post`. These two services run separately by containerized with Docker.\n\nUnder these two services will have its own `go.mod` contain their dependencies which required to install.\n\n### Prerequisite\n\nThe only required to run this project is `Docker` which installed in your machine.\n\n### Installing\n\nRunning below command to initialize and running all services.\n\n```\ndocker-compose up\n```\n\n### Explanation\n\nFor many years, the official Go FAQ has included this advice on package versioning:\n\n\u003e \"Packages intended for public use should try to maintain backwards compatibility as they evolve. The Go 1 compatibility guidelines are a good reference here: don't remove exported names, encourage tagged composite literals, and so on. If different functionality is required, add a new name instead of changing an old one. If a complete break is required, create a new package with a new import path.\"\n\nThe last sentence is especially important — if you break compatibility, you should change the import path of your package. With Go 1.11 modules, that advice is formalized into the import compatibility rule:\n\n\u003e \"If an old package and a new package have the same import path, the new package must be backwards compatible with the old package.\"\n\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\thello \"github.com/notsu/gomono/services/post/hello\"\n\thelloV4 \"github.com/notsu/gomono/services/post/v4/hello\"\n\thelloV5 \"github.com/notsu/gomono/services/post/v5/hello\"\n\thelloV6 \"github.com/notsu/gomono/services/post/v6/hello\"\n)\n\nfunc main() {\n\tfmt.Println(\"Hello from USER\")\n\tfmt.Println(hello.Hello())\n\tfmt.Println(helloV4.Hello())\n\tfmt.Println(helloV5.Hello())\n\tfmt.Println(helloV6.Hello())\n}\n```\n\nReference\n- [Releasing Modules (v2 or Higher)](https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher)\n\n## Built With\n\n- [Docker](https://www.docker.com/) - Containerized the services\n- [Golang](https://golang.org/) - The programming language\n\n## Author\n\n- **Pichet Itngam**\n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotsu%2Fgo-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotsu%2Fgo-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotsu%2Fgo-monorepo/lists"}