{"id":13842988,"url":"https://github.com/loveinsky100/goanno","last_synced_at":"2025-07-29T11:32:16.773Z","repository":{"id":55614522,"uuid":"292226003","full_name":"loveinsky100/goanno","owner":"loveinsky100","description":"Auto generate comment for golang/golang自动生成函数注释插件","archived":false,"fork":false,"pushed_at":"2023-06-06T06:01:31.000Z","size":1837,"stargazers_count":139,"open_issues_count":16,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T21:18:07.050Z","etag":null,"topics":["auto","comment","generate","goland","golang","plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loveinsky100.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}},"created_at":"2020-09-02T08:35:16.000Z","updated_at":"2025-01-24T08:18:27.000Z","dependencies_parsed_at":"2023-01-19T16:46:55.437Z","dependency_job_id":"749714b9-6e14-4944-9321-e877825fe2a8","html_url":"https://github.com/loveinsky100/goanno","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/loveinsky100/goanno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveinsky100%2Fgoanno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveinsky100%2Fgoanno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveinsky100%2Fgoanno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveinsky100%2Fgoanno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loveinsky100","download_url":"https://codeload.github.com/loveinsky100/goanno/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loveinsky100%2Fgoanno/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267678448,"owners_count":24126333,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["auto","comment","generate","goland","golang","plugin"],"created_at":"2024-08-04T17:01:52.880Z","updated_at":"2025-07-29T11:32:16.749Z","avatar_url":"https://github.com/loveinsky100.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# goanno\nGoanno is a plugin for goland  \nThis plugin provides auto generate comments for golang\n\n# How to install\n1.goland plugins marketplace(search Goanno)  \n2.download release jar(goland install from disk) [goanno.jar](https://github.com/loveinsky100/goanno/releases)\n\n# How to use\n1.control + command + /  (for windows: control + alt + /)  \n2.Right click -\u003e Generate -\u003e Goanno  \n3.Edit comment template  \n+ 1.Select \"Tools - Goanno Setting\"  \n+ 2.Edit template\n\n# Change log\n - V2.1.0\n    - support edit custom template\n - V3.0.0\n    - support different scene template\n    - support old comment convert\n - V3.1.0 at 2022-08-24\n    - support template export/import\n\n# Template\n\n| Args | Desc |\n| --- | --- |\n| ${todo} | Blank Placeholder |\n| ${receiver} | function receiver name or type |\n| ${params} | function params name or type|\n| ${return_types} | function output name or type |\n| ${function_name} | function name |\n| ${date} | yyyy-MM-dd HH:mm:ss |\n\n## V2.1.0\n| Args | Desc |\n| --- | --- |\n| ${todo} | Blank Placeholder |\n| ${receiver} | function receiver name or type |\n| ${params} | function params name or type|\n| ${return_types} | function output name or type |\n| ${function_name} | function name |\n| ${param_name} | function params name |\n| ${param_type} | function params type |\n| ${param_name_type} | function params name and type |\n| ${receiver_name} | function receiver name |\n| ${receiver_type} | function receiver type |\n| ${receiver_name_type} | function receiver name and type |\n| ${ret} | function output name or type, equals to ${return_types} |\n| ${ret_name} | function output name |\n| ${ret_type} | function output type |\n| ${ret_name_type} | return name and type |\n| ~~${note}~~ | ~~previous comments (NOT SUPPORT, dev...)~~ |\n\n## V3.0.0\nNew Config Support\n\n![](https://raw.githubusercontent.com/loveinsky100/goanno/master/preview/goanno_v3_setting.png)\n\n| Args | Desc |\n| --- | --- |\n| ${interface_name} | Name of Interface |\n| ${struct_name} | Name of Struct |\n| ${struct_field_name} | Name of Struct Field |\n| ${package_name} | Name of Package |\n\n\nSuggest Templates  \njava style(default)\n```\n/*\n * @Description: ${todo}\n * @receiver ${receiver}\n * @param ${params}\n * @return ${return_types}\n */\n```\n\ngolang style\n```\n//\n// @Description: ${todo}\n// @receiver ${receiver}\n// @param ${params}\n// @return ${return_types}\n//\n```\n\n## V2.2.0\nSupports rewrite previous comments / 支持覆盖原有注释\n\nSetting: \"Tools - Goanno Setting - Select Checkbox\"  \n![](https://raw.githubusercontent.com/loveinsky100/goanno/master/preview/goanno_cover.gif)\n\n# How to build\n```\nProject SDK: IntelliJ IDEA Community Edition IC-202.8194.7\nJDK: 1.8\nIDEA Version: IntelliJ IDEA 2020.2.4 (Community Edition)\n\nTip: Do not use 2020.3\n```\n\nTest File:\n```\nresource\n    - test.go\n    - test2.go\nsrc/org/leo/goanno/test\n    - GenerateTest.java\n```\n\n# Preview\n\n![](https://raw.githubusercontent.com/loveinsky100/goanno/master/preview/goanno_func.gif)\n![](https://raw.githubusercontent.com/loveinsky100/goanno/master/preview/goanno_interface.gif)\n![](https://raw.githubusercontent.com/loveinsky100/goanno/master/preview/goanno_template_setting.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floveinsky100%2Fgoanno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floveinsky100%2Fgoanno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floveinsky100%2Fgoanno/lists"}