{"id":18251770,"url":"https://github.com/hiroakis/goflow","last_synced_at":"2026-02-16T11:33:32.298Z","repository":{"id":256398543,"uuid":"855166773","full_name":"hiroakis/goflow","owner":"hiroakis","description":"A flowchart generator for Go","archived":false,"fork":false,"pushed_at":"2024-09-10T12:46:32.000Z","size":133,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T22:43:39.338Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiroakis.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":"2024-09-10T12:30:33.000Z","updated_at":"2024-09-13T02:12:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e6ce8fd-db4c-4656-8188-f46d51ab7b03","html_url":"https://github.com/hiroakis/goflow","commit_stats":null,"previous_names":["hiroakis/goflow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hiroakis/goflow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fgoflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fgoflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fgoflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fgoflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/goflow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fgoflow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29506768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"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":[],"created_at":"2024-11-05T09:48:27.309Z","updated_at":"2026-02-16T11:33:32.271Z","avatar_url":"https://github.com/hiroakis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goflow\n\n`goflow`, a flowchart generator for Go.\n\n# Usage\n\n```\ngoflow \u003cfilename\u003e \u003cfunction name\u003e\n```\n\n## Example\n\n```\ngoflow testdata/src/example/example.go f5\n```\n\n```uml\n@startuml\nstart\n:f5;\nif (arg == 0) then (yes)\n:fmt.Printf(\"if %d\\n\", arg);\nelse\nif (arg == 1) then (yes)\n:fmt.Printf(\"else if %d\\n\", arg);\nelse\n:fmt.Printf(\"else %d\\n\", arg);\nendif\nendif\nswitch (arg % 2)\ncase (1)\n:odd = true;\ncase (0)\n:even = true;\n:return ;\nend\ncase (default)\n:err = fmt.Errorf(\"error: %d\", arg);\n:return ;\nend\nendswitch\nswitch ()\ncase (args == 10)\n:err = fmt.Errorf(\"error: %d\", arg);\n:return ;\nend\ncase (args == 20)\n:err = fmt.Errorf(\"error: %d\", arg);\n:return ;\nend\ncase ()\nendswitch\nwhile (for i := 0; i \u003c 10; i++)\nif (i == 5) then (yes)\n:continue;\nstop\nendif\n:return switchCase(i);\nend\nendwhile\n:c int;\nwhile (for)\n:c++;\nif (c \u003e 10) then (yes)\n:break;\nbreak\nendif\nendwhile\n:return ;\nend\n@enduml\n```\n\n![f5](/images/f5.png)\n\n\n# TODO\n\n- go routine\n- channel\n- select statement\n- ... and more\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fgoflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Fgoflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fgoflow/lists"}