{"id":13511682,"url":"https://github.com/hyper0x/Golang_Puzzlers","last_synced_at":"2025-03-30T20:34:18.174Z","repository":{"id":40602095,"uuid":"144539483","full_name":"hyper0x/Golang_Puzzlers","owner":"hyper0x","description":"An example project, for my column named \"Core Golang - 36 lessons\"","archived":false,"fork":false,"pushed_at":"2021-10-22T09:24:49.000Z","size":156,"stargazers_count":2546,"open_issues_count":0,"forks_count":769,"subscribers_count":134,"default_branch":"master","last_synced_at":"2024-10-29T17:56:02.170Z","etag":null,"topics":["go","golang","tutorial"],"latest_commit_sha":null,"homepage":"","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/hyper0x.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":"2018-08-13T06:41:05.000Z","updated_at":"2024-10-17T10:16:21.000Z","dependencies_parsed_at":"2022-08-09T23:50:33.408Z","dependency_job_id":null,"html_url":"https://github.com/hyper0x/Golang_Puzzlers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper0x%2FGolang_Puzzlers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper0x%2FGolang_Puzzlers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper0x%2FGolang_Puzzlers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper0x%2FGolang_Puzzlers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper0x","download_url":"https://codeload.github.com/hyper0x/Golang_Puzzlers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222581270,"owners_count":17006323,"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":["go","golang","tutorial"],"created_at":"2024-08-01T03:01:05.705Z","updated_at":"2024-11-01T13:31:31.581Z","avatar_url":"https://github.com/hyper0x.png","language":"Go","readme":"# Golang_Puzzlers\n\n我在极客时间开设的专栏《Go语言核心36讲》的配套项目，也可以称之为“Go语言谜题”项目。其中几乎包含了此专栏涉及到的所有代码。\n\n这个专栏的地址[在这里](https://time.geekbang.org/column/intro/112?code=ti58hl0Fap2y5S-OE0G-O-2CiCtjLT94OxcNaBDzI6k%3D)。本项目中的代码携带的信息相对较少，往往需要配合专栏的内容去看。欢迎大家到“极客时间”订阅我的专栏。\n\n欢迎广大的专栏读者和Go语言爱好者们查阅和下载！如果此项目对你有所裨益，还请轻点鼠标、`Star`⭐一下。谢谢！\n\n## 项目结构说明\n\n项目中会有很多像`article3`这样的代码包。这种代码包下面还会有像`q0`或`q2`这样的子代码包。对于这些代码包的层次和命名是有一套潜在的规则的。如下：\n\n1. `article3`是第三篇正文的专属代码包。其他名称相似的代码包含义可类推。\n2. 在每个文章代码包中，都可能会有`q0`、`q1`、`q2`、`q3`这类的子代码包。\n3. 此专栏的主体文章是有固定的结构的。它们一般被分为几个部分：\n\t- 主问题提出之前的部分，也被称为前导部分。\n\t- 主问题部分，是文章主体内容的切入点。\n\t- 扩展问题部分，是切入点的延伸和深入，一般由若干个扩展问题组成，比如：扩展问题1、扩展问题2，等等。\n\t- 总结部分，是对前面的阐述和问题的总结。\n\t- 思考题部分，由一到两个思考题组成。这部分的题目没有答案，仅供大家思考和讨论。\n4. 以上述文章结构为基础，`q0`子包中会包含与前导部分对应的示例代码，`q1`子包中会包含与主问题部分对应的代码，而`q2`子包中会包含与扩展问题部分的扩展问题1对应的代码，以此类推。总结部分和思考题部分一般没有与之对应的代码包。\n\n一般只有像`q0`、`q1`、`q2`这样的代码包下才会包含源码文件。若文章的某个部分存在对应的代码则至少会有一个源码文件，并且总会有一个命令源码文件作为示例的入口，也就是示例入口文件。每个示例入口文件都会以`demoX.go`为名，其中的`X`代表序号。所有的示例入口文件的序号都是唯一的，并且从第一个出现的示例入口文件开始以自然数的顺序确定序号。这样做可以统计示例的总数量。\n\n欢迎大家与我一起学习Go语言。如果你怀疑或确定本项目的代码有错误，请通过专栏找到我，我们一起讨论。谢谢！\n\n## 项目状态更新\n\n- `2018-11-09`：此专栏在此时已更新到了`39`讲，早已超过了原本约定的`36`讲。不过这还没完，预计它最终会达到`50`讲，并且一直更新到12月初。之后，我仍然会对专栏的内容进行专项增补，比如：补充配图、添加思考题的答案，等等。这些增补也同样都会被及时地更新到专栏的在线版中。这些工作都做完了恐怕要到明年的春节了。所以，专栏的读者们，你们赚到了；）。\n- `2018-11-20`：此专栏的全部文章都已经写作完成，历时`4`个多月。专栏文章共计`54`篇，其中的主题文章共`49`篇。\n- `2019-01-21`：此专栏的所有配图和思考题简答的原稿都已完成。\n- `2019-02-02`：发布“新年彩蛋：完整版思考题答案”。\n- `2019-02-18`：此专栏的付费读者已突破`20000`！\n- `2019-02-21`：此专栏已基于之前的所有工作进行了全面的升级！\n- `2019-05-31`：发布“儿童节彩蛋”：添加[序号映射表](mapping_table.md)，对应专栏中文章的序号与源码目录中的序号。\n- `2020-05-27`：此专栏的付费读者已突破`25000`！\n- `2021-10-24`：此专栏的付费读者已突破`31000`！\n\n## 进一步学习交流\n\n大家可通过以下几个渠道进一步与我交流，并一起学习：\n\n- 极客时间App中《Go语言核心36讲》专栏的留言区（我几乎每天都会回复留言区中的问题）\n- QQ群：GoHackers（群号：361287127）\n- 微信公众号：GoHackers\n","funding_links":[],"categories":["Go","Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper0x%2FGolang_Puzzlers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper0x%2FGolang_Puzzlers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper0x%2FGolang_Puzzlers/lists"}