{"id":15096030,"url":"https://github.com/febelery/go-practice","last_synced_at":"2026-02-07T14:32:39.366Z","repository":{"id":187482276,"uuid":"159016208","full_name":"febelery/go-practice","owner":"febelery","description":"practice","archived":false,"fork":false,"pushed_at":"2019-05-13T10:36:18.000Z","size":287,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-24T11:43:39.939Z","etag":null,"topics":["epoll","gin","go","grpc","practice","protobuf","tcp"],"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/febelery.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,"governance":null}},"created_at":"2018-11-25T09:29:30.000Z","updated_at":"2019-07-23T09:05:48.000Z","dependencies_parsed_at":"2023-08-10T19:07:58.922Z","dependency_job_id":null,"html_url":"https://github.com/febelery/go-practice","commit_stats":null,"previous_names":["febelery/go-practice","yesterday679/go-practice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/febelery/go-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febelery%2Fgo-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febelery%2Fgo-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febelery%2Fgo-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febelery%2Fgo-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/febelery","download_url":"https://codeload.github.com/febelery/go-practice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/febelery%2Fgo-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29197022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T12:38:28.597Z","status":"ssl_error","status_checked_at":"2026-02-07T12:38:23.888Z","response_time":63,"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":["epoll","gin","go","grpc","practice","protobuf","tcp"],"created_at":"2024-09-25T15:44:59.582Z","updated_at":"2026-02-07T14:32:39.352Z","avatar_url":"https://github.com/febelery.png","language":"Go","readme":"# go practice\n\n# 资源\n- https://books.studygolang.com/The-Golang-Standard-Library-by-Example/\n- https://github.com/the-benchmarker/web-frameworks\n- https://github.com/derekparker/delve\n- https://studygolang.com/pkgdoc\n- https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/preface.md\n- https://github.com/StefanSchroeder/Golang-Regex-Tutorial (regex)\n- https://studygolang.com/pkgdoc\n\n# 快捷键\n## 文件相关快捷键：\nCTRL+E，打开最近浏览过的文件。\u003cbr\u003e\nCTRL+SHIFT+E，打开最近更改的文件。\u003cbr\u003e\nCTRL+N，可以快速打开struct结构体。\u003cbr\u003e\nCTRL+SHIFT+N，可以快速打开文件。\u003cbr\u003e\n\n## 代码格式化：\nCTRL+ALT+T，可以把代码包在一个块内，例如if{…}else{…}。\u003cbr\u003e\nCTRL+ALT+L，格式化代码。\u003cbr\u003e\nCTRL+空格，代码提示。\u003cbr\u003e\nCTRL+/，单行注释。CTRL+SHIFT+/，进行多行注释。\u003cbr\u003e\nCTRL+B，快速打开光标处的结构体或方法（跳转到定义处）。\u003cbr\u003e\nCTRL+“+/-”，可以将当前方法进行展开或折叠。\u003cbr\u003e\n\n## 查找和定位\nCTRL+R，替换文本。\u003cbr\u003e\nCTRL+F，查找文本。\u003cbr\u003e\nCTRL+SHIFT+F，进行全局查找。\u003cbr\u003e\nCTRL+G，快速定位到某行。\u003cbr\u003e\n\n## 代码编辑\nALT+Q，可以看到当前方法的声明。\u003cbr\u003e\nCTRL+Backspace，按单词进行删除。\u003cbr\u003e\nSHIFT+ENTER，可以向下插入新行，即使光标在当前行的中间。\u003cbr\u003e\nCTRL+X，删除当前光标所在行。\u003cbr\u003e\nCTRL+D，复制当前光标所在行。\u003cbr\u003e\nALT+SHIFT+UP/DOWN，可以将光标所在行的代码上下移动。\u003cbr\u003e\nCTRL+SHIFT+U，可以将选中内容进行大小写转化。\u003cbr\u003e\nCTRL+SHIFT+SPACE，自动补全代码\u003cbr\u003e\nALT+ENTER 检查并修复\u003cbr\u003e\n\nCTRL+O，实现接口的所有方法\u003cbr\u003e\n\n## 界面切换\nALT+1，打开/关闭Project窗口\u003cbr\u003e\nALT+2，打开/关闭Favorites窗口\u003cbr\u003e\nALT+7，打开文件方法列表\u003cbr\u003e\n\n## command\n```bash\ngo run crawler_distributed/main.go --itemsaver_host=\":1234\" --worker_hosts=\":9000,:9001\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebelery%2Fgo-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffebelery%2Fgo-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffebelery%2Fgo-practice/lists"}