> For the complete documentation index, see [llms.txt](https://go.sai.show/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://go.sai.show/readme.md).

# README

## 说明

**Github地址(欢迎star):** [**https://github.com/step-by-step-wiki/GoBook**](https://github.com/step-by-step-wiki/GoBook)

**Gitbook在线版:** [**为你自己学Go**](https://go.sai.show)

**另外还有一本Gitbook, 是Go的学习,** [**为你自己学Redis**](https://redis.sai.show)**, 欢迎学习和star🌟**

## About me

**Url**: [**https://sai.show/about**](https://sai.show/about)

## Highlights

目前在跟邓明老师学习，每次学习完，都会进行大量练习，然后把老师讲的，和自己整理的（包含自己的截图、自己画的流程截图）写下来，因为自己也在转Go语言开发，把Go做为职业生涯的第二语言，我想着通过一个学习者的方式去形成一本书，这本书为你自己而学，为自己多一条选择而学，所以书名命为【为你自己学Go】，希望能对学习Go的大家有所帮助～

在做一件有意义的事情，文章会一直更新，直到结束

![Web框架概览](/files/YtO1RVQZrxhcO3CRwcZb)

代码在[code](https://github.com/step-by-step-wiki/GoBook/blob/main/code/README.md)目录下

文章按章节如下：

* Web框架之 Server与路由树
  * PART01.Web框架概览
    * [01.Web框架概览-学习路线](/part01.web-kuang-jia-gai-lan/1.01-web-kuang-jia-gai-lan-xue-xi-lu-xian.md)
    * [02.Web框架概览-Beego框架分析](/part01.web-kuang-jia-gai-lan/1.02-web-kuang-jia-gai-lan-beego-kuang-jia-fen-xi.md)
    * [03.Web框架概览-GIN框架分析](/part01.web-kuang-jia-gai-lan/1.03-web-kuang-jia-gai-lan-gin-kuang-jia-fen-xi.md)
    * [04.Web框架概览-Iris框架分析](/part01.web-kuang-jia-gai-lan/1.04-web-kuang-jia-gai-lan-iris-kuang-jia-fen-xi.md)
    * [05.Web框架概览-Echo框架分析](/part01.web-kuang-jia-gai-lan/1.05-web-kuang-jia-gai-lan-echo-kuang-jia-fen-xi.md)
  * PART02.Server
    * [01.Server详解与面试要点](/part02.server/2.01-server-xiang-jie-yu-mian-shi-yao-dian.md)
  * PART03.路由树
    * [01.路由树-Beego\&GIN\&Echo实现与设计总结](/part03.-lu-you-shu/3.01-lu-you-shu-beegoginecho-shi-xian-yu-she-ji-zong-jie.md)
    * [02.路由树-全静态匹配](/part03.-lu-you-shu/3.02-lu-you-shu-quan-jing-tai-pi-pei.md)
    * [03.路由树-TDD起步](/part03.-lu-you-shu/3.03-lu-you-shu-tdd-qi-bu.md)
    * [04.路由树-静态匹配测试用例](/part03.-lu-you-shu/3.04-lu-you-shu-jing-tai-pi-pei-ce-shi-yong-li.md)
    * [05.路由树-静态匹配之路由查找](/part03.-lu-you-shu/3.05-lu-you-shu-jing-tai-pi-pei-zhi-lu-you-cha-zhao.md)
    * [06.路由树-静态匹配之集成Server](/part03.-lu-you-shu/3.06-lu-you-shu-jing-tai-pi-pei-zhi-ji-cheng-server.md)
    * [07.路由树-通配符匹配之路由注册](/part03.-lu-you-shu/3.07-lu-you-shu-tong-pei-fu-pi-pei-zhi-lu-you-zhu-ce.md)
    * [08.路由树-通配符匹配之路由查找与测试](/part03.-lu-you-shu/3.08-lu-you-shu-tong-pei-fu-pi-pei-zhi-lu-you-cha-zhao-yu-ce-shi.md)
    * [09.路由树-参数路径之基本注册和查找](/part03.-lu-you-shu/3.09-lu-you-shu-can-shu-lu-jing-zhi-ji-ben-zhu-ce-he-cha-zhao.md)
    * [10.路由树-参数路径之校验](/part03.-lu-you-shu/3.10-lu-you-shu-can-shu-lu-jing-zhi-jiao-yan.md)
    * [11.路由树-参数路径之参数值](/part03.-lu-you-shu/3.11-lu-you-shu-can-shu-lu-jing-zhi-can-shu-zhi.md)
    * [12.路由树-总结与面试要点](/part03.-lu-you-shu/3.12-lu-you-shu-zong-jie-yu-mian-shi-yao-dian.md)
  * PART04.课后复习
    * [01.课后复习-Server](/part04.-ke-hou-fu-xi/4.01-ke-hou-fu-xi-server.md)
    * [02.课后复习-Route](/part04.-ke-hou-fu-xi/4.02-ke-hou-fu-xi-route.md)
* Web框架之Context与AOP方案
  * PART05.Context
    * [01.Context-简介](/part05.context/5.01-context-jian-jie.md)
    * [02.Context-Beego-Context设计分析](/part05.context/5.02-contextbeegocontext-she-ji-fen-xi.md)
    * [03.Context-Gin-Context设计分析](/part05.context/5.03-contextgincontext-she-ji-fen-xi.md)
    * [04.Context-Echo和Iris的Context设计分析](/part05.context/5.04-contextecho-he-iris-de-context-she-ji-fen-xi.md)
    * [05.Context-处理输入输出总结](/part05.context/5.05-context-chu-li-shu-ru-shu-chu-zong-jie.md)
    * [06.Context-处理输入之Body输入](/part05.context/5.06-context-chu-li-shu-ru-zhi-body-shu-ru.md)
    * [07.Context-处理输入之表单输入](/part05.context/5.07-context-chu-li-shu-ru-zhi-biao-dan-shu-ru.md)
    * [08.Context-处理输入之查询参数、路径参数和StringValue](/part05.context/5.08-context-chu-li-shu-ru-zhi-cha-xun-can-shu-lu-jing-can-shu-he-stringvalue.md)
    * [09.Context-处理输出](/part05.context/5.09-context-chu-li-shu-chu.md)
    * [10.Context-总结与面试要点](/part05.context/5.10-context-zong-jie-yu-mian-shi-yao-dian.md)
  * PART06.AOP
    * [01.AOP简介与不同框架设计概览](/part06.aop/6.01-aop-jian-jie-yu-bu-tong-kuang-jia-she-ji-gai-lan.md)
    * [02.AOP设计方案-Middleware](/part06.aop/6.02-aop-she-ji-fang-an-middleware.md)
  * PART07.Middleware
    * [01.Middleware-AccessLog](/part07.middleware/7.01-middleware-accesslog.md)
    * [02.Middleware-Trace简介和OpenTelemetry](/part07.middleware/7.02-middlewaretrace-jian-jie-he-opentelemetry.md)
    * [03.Middleware-OpenTelemetry测试](/part07.middleware/7.03-middlewareopentelemetry-ce-shi.md)
    * [04.Middleware-OpenTelemetry总结](/part07.middleware/7.04-middlewareopentelemetry-zong-jie.md)
    * [05.Prometheus详解](/part07.middleware/7.05-prometheus-xiang-jie.md)
    * [06.Middleware-Prometheus](/part07.middleware/7.06-middleware-prometheus.md)
    * [07.Middleware-错误页面](/part07.middleware/7.07-middleware-cuo-wu-ye-mian.md)
    * [08.Middleware-从panic中恢复](/part07.middleware/7.08-middleware-cong-panic-zhong-hui-fu.md)
    * [09.Middleware总结和面试](/part07.middleware/7.09-middleware-zong-jie-he-mian-shi.md)
  * PART08.Review
    * [01.课后复习-AOP](/part08.review/8.01-ke-hou-fu-xi-aop.md)
    * [02.课后复习-Context](/part08.review/8.02-ke-hou-fu-xi-context.md)
    * [03.课后复习-Middleware-AccessLog](/part08.review/8.03-ke-hou-fu-xi-middlewareaccesslog.md)
  * PART09.Appendix
    * [01附录.责任链模式](/part09.appendix/01-fu-lu-.-ze-ren-lian-mo-shi.md)
    * [02附录.生成器模式](/part09.appendix/02-fu-lu-.-sheng-cheng-qi-mo-shi.md)
    * [03附录.函数选项模式](/part09.appendix/03-fu-lu-.-han-shu-xuan-xiang-mo-shi.md)
  * 好用的小程序(欢迎体验呀)
    * [01.去抖音水印](/xiaochengxu/01.qushuiyin.md)
    * [02.密码管理](/xiaochengxu/02.password.md)

## 如果可以，请关注我的公众号

绝不打扰，如果您关注我了，后期等我运营好了，一定给关注我的你们发福利😊

![公众号](https://oss.laf.run/v8w6wa-keepass/images/gongzhonghao.jpg)

## 赞助

如果你觉得这个项目对你有帮助，请给我点个Star。并且情况允许的话，可以给我一点点支持，总之非常感谢支持～

![微信](/files/Olt2UVjNeaSqb03xjYtt)

WeChat Pay

![支付宝](/files/F3IN7cNHEJpXKxgG8fYU)

Alipay
