{"id":13756086,"url":"https://github.com/yqylovy/goimportdot","last_synced_at":"2026-01-17T02:33:22.878Z","repository":{"id":57487525,"uuid":"91367920","full_name":"yqylovy/goimportdot","owner":"yqylovy","description":"A tiny tool to draw a graph of golang package import relationship","archived":false,"fork":false,"pushed_at":"2018-09-30T11:14:49.000Z","size":418,"stargazers_count":137,"open_issues_count":1,"forks_count":17,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-10T03:31:38.936Z","etag":null,"topics":["dot","golang","graph"],"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/yqylovy.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":"2017-05-15T17:54:51.000Z","updated_at":"2024-03-06T00:53:42.000Z","dependencies_parsed_at":"2022-09-17T15:15:01.939Z","dependency_job_id":null,"html_url":"https://github.com/yqylovy/goimportdot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yqylovy/goimportdot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yqylovy%2Fgoimportdot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yqylovy%2Fgoimportdot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yqylovy%2Fgoimportdot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yqylovy%2Fgoimportdot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yqylovy","download_url":"https://codeload.github.com/yqylovy/goimportdot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yqylovy%2Fgoimportdot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"online","status_checked_at":"2026-01-17T02:00:07.808Z","response_time":85,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dot","golang","graph"],"created_at":"2024-08-03T11:00:35.923Z","updated_at":"2026-01-17T02:33:22.841Z","avatar_url":"https://github.com/yqylovy.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# GoImportDot\n\n## What is GoImportDot ?\n\nGoImportDot is a tiny tool to generate a `dot` file (used for Graphviz) of imports of golang package.It has two purpose.\n\n* Help people quickly understand how a package organization without going into details of code.\n* Help people find out whether a package is too confusing and needs to be refactored.\n\n## Quick Start\n\n```\ngo get -u github.com/yqylovy/goimportdot\ngoimportdot -pkg=yourpackagename \u003e pkg.dot \ndot -Tsvg pkg.dot \u003epkg.svg\n```\n\n## Example\n\nInstall `go.uber.org/zap`\n\n```\ngo get go.uber.org/zap\n```\n\nGet a graph of `go.uber.org/zap`\n\n```\ngoimportdot -pkg=go.uber.org/zap \u003e zap.dot\ndot -Tpng zap.dot \u003e zap.png\n```\n\n![zap](./docs/zap.png)\n\n\nOnly get a graph of zapcore in `go.uber.org/zap`\n\n```\ngoimportdot -pkg=go.uber.org/zap -root=go.uber.org/zap/zapcore \u003e zapcore.dot\ndot -Tpng zapcore.dot \u003e zapcore.png\n```\n\n![zap](./docs/zapcore.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyqylovy%2Fgoimportdot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyqylovy%2Fgoimportdot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyqylovy%2Fgoimportdot/lists"}