{"id":17119035,"url":"https://github.com/chyroc/go-module-example","last_synced_at":"2025-03-24T02:19:10.765Z","repository":{"id":57517895,"uuid":"247417332","full_name":"chyroc/go-module-example","owner":"chyroc","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-15T07:43:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T08:23:33.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chyroc.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":"2020-03-15T06:57:20.000Z","updated_at":"2020-03-15T07:43:07.000Z","dependencies_parsed_at":"2022-09-26T18:01:33.372Z","dependency_job_id":null,"html_url":"https://github.com/chyroc/go-module-example","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-module-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-module-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-module-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgo-module-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chyroc","download_url":"https://codeload.github.com/chyroc/go-module-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195962,"owners_count":20575938,"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":[],"created_at":"2024-10-14T17:56:08.629Z","updated_at":"2025-03-24T02:19:10.748Z","avatar_url":"https://github.com/chyroc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go module 使用示例\n\n### 多版本\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\tpackageV1 \"github.com/chyroc/go-module-example\"\n\tpackageV2 \"github.com/chyroc/go-module-example/v2\"\n)\n\nfunc main() {\n\tfmt.Println(packageV1.FuncA())\n\tfmt.Println(packageV2.FuncB())\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgo-module-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchyroc%2Fgo-module-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgo-module-example/lists"}