{"id":16314855,"url":"https://github.com/forecho/hi-go","last_synced_at":"2025-04-28T11:04:16.708Z","repository":{"id":147509490,"uuid":"154072077","full_name":"forecho/hi-go","owner":"forecho","description":"学习 Golang ","archived":false,"fork":false,"pushed_at":"2019-12-05T03:12:57.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-25T07:22:21.394Z","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/forecho.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-22T01:41:06.000Z","updated_at":"2019-12-05T03:12:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d3f290f-c345-46af-9db7-5f0fc8876c3a","html_url":"https://github.com/forecho/hi-go","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"8085b129ceadfd7061c786925c5caac0e8b113b2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forecho%2Fhi-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forecho%2Fhi-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forecho%2Fhi-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forecho%2Fhi-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forecho","download_url":"https://codeload.github.com/forecho/hi-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239161754,"owners_count":19592315,"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-10T21:55:27.437Z","updated_at":"2025-02-16T16:42:10.197Z","avatar_url":"https://github.com/forecho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go 学习笔记\n\n## 安装 Go\n\n### Linux\n\n- 下载源码\n\n```sh\nwget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz\nsudo tar -C /usr/local -xzf go1.11.5.linux-amd64.tar.gz\n```\n\n- 处理环境变量\n\n修改 `.bashrc` 或者 `.zshrc` 文件，添加：\n\n```\nexport PATH=$PATH:/usr/local/go/bin\n```\n\n如果需要自定义 `GOPATH` （工作目录）\n\n```\nexport GOPATH=$HOME/Code/go\nexport PATH=$PATH:/usr/local/go/bin:$GOPATH/bin\n```\n\n\n\n## [包管理器 Dep](https://github.com/golang/dep)\n\n安装\n\n```sh\ncurl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforecho%2Fhi-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforecho%2Fhi-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforecho%2Fhi-go/lists"}