10 2024 档案

摘要:《用Gin框架构建分布式应用》学习第15天,p272-p306总结,总35页。 一、技术总结 1.TDD(test-driven development) 虽然经常看到TDD这个属于,从本人的工作经历看,实际开发中用得相对较少。 2.unitest(单元测试) go语言开发中,使用testify进行 阅读全文
posted @ 2024-10-31 18:28 codists 阅读(18) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第14天,p251-p271总结,总21页。 一、技术总结 1.Docker & Docker Compose version: "3.9" services: api: image: api environment: - MONGO_URI=mongodb://a 阅读全文
posted @ 2024-10-30 09:36 codists 阅读(18) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第13天,p234-p250总结,总17页。 一、技术总结 1.message broker (1)RabbitMQ 书里使用的是RabbitMQ(https://www.rabbitmq.com/),这里补充一点说明: docker run -d --name r 阅读全文
posted @ 2024-10-29 07:19 codists 阅读(23) 评论(0) 推荐(0) 编辑
摘要:一、问题描述 RabbitMQ 版本:4.0.2,Erlang 版本:26.2.5.4。 RabbitMQ 页面管理(rabbitmq_management)的 Overview > Totals 是空: 二、原因分析 RabbitMQ 的配置: management_agent.disable_m 阅读全文
posted @ 2024-10-28 17:53 codists 阅读(19) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第12天,p212-p233总结,总22页。 一、技术总结 1.JavaScript知识点 (1)class、method (2)function, arrow function, (3)fetch() (4)Promise, then() 2.bootstrap 阅读全文
posted @ 2024-10-28 00:11 codists 阅读(4) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第11天,p208-p211总结,总计4页。 一、技术总结 1.JavaScript 前端永远离不开HTML,CSS,JavaScript这三个概念。但是书中作者基本没有进行介绍。此时要求我们自己具备一定的前端基础。关于Javascript的tutorial, 个人 阅读全文
posted @ 2024-10-26 23:53 codists 阅读(13) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第10天,p143-p207总结,总计65页。 一、技术总结 1.auth0 本人实际工作中未遇到过,mark一下,参考:https://auth0.com/。 2.使用template (1)c.File() (2)router.Static() (3)route 阅读全文
posted @ 2024-10-25 23:58 codists 阅读(5) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第9天,p127-p142总结,总计16页。 一、技术总结 1.Authentication方式汇总 (1)API keys API keys 认证方式示例: func (handler *RecipesHandler) NewRecipeHandler(c *gi 阅读全文
posted @ 2024-10-23 23:30 codists 阅读(12) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第8天,p108-p126总结,总计18页。 一、技术总结 1.Redis eviction policy (1)什么是 eviction policy? The eviction policy determines what happens when a data 阅读全文
posted @ 2024-10-22 23:00 codists 阅读(19) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第7天,p101-p107总结,总计7页。 一、技术总结 1.StatusBadRequest vs StatusInternalServerError 写代码的时候有一个问题,什么时候使用 StatusBadRequest(400错误),什么时候使用 Status 阅读全文
posted @ 2024-10-21 00:06 codists 阅读(15) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第6天,p88-p100总结,总计13页。 一、技术总结 1.MongoDB CRUD操作 (1)InsertOne(), InsertMany() (2)Find() (3)UpdateOne, UpdateMany() (4)DeleteOne(), Delet 阅读全文
posted @ 2024-10-20 00:10 codists 阅读(27) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第5天,p77-p87总结,总计11页。 一、技术总结 1.Go知识点 (1)context 2.on-premises software p80, A container is like a separate OS, but not virtualized; it 阅读全文
posted @ 2024-10-17 23:29 codists 阅读(32) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第4天,p32-p76总结,总计25页。 一、技术总结 1.Go知识点 (1)iouti 书上使用ioutil包读取JSON文件,但是从go 1.16 开始,不再推荐使用ioutil,应该使用os 包。 (2)json.Unmarshal() vs json.New 阅读全文
posted @ 2024-10-16 23:55 codists 阅读(30) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第3天,p32-p51总结,总计20页。 一、技术总结 1.Go知识点 slice, struct。 2.Gin知识点 (1)c.XML() 使用c.XML()解析cmx结构。 (2)c.ShouldBindJSON() 将struct转成json。 gin所有函数 阅读全文
posted @ 2024-10-16 00:15 codists 阅读(24) 评论(0) 推荐(0) 编辑
摘要:《用Gin框架构建分布式应用》学习第2天,p20-p31总结,总计12页。 一、技术总结 1.第一个gin程序 // main.go package main import "github.com/gin-gonic/gin" func main() { r := gin.Default() r.G 阅读全文
posted @ 2024-10-14 00:01 codists 阅读(13) 评论(0) 推荐(0) 编辑
摘要:《使用Gin框架构建分布式应用》学习第1天,p1-p19总结,总计19页。 一、技术总结 1.go get & go install 执行go get 或者 go install 命令后package会被安装到哪里?参考:https://go.dev/ref/mod#go-install VSCod 阅读全文
posted @ 2024-10-12 23:58 codists 阅读(54) 评论(0) 推荐(0) 编辑
摘要:之所以看这本书,是想了解一些跟汇编相关的知识,打开这本书后就被作者的观点——“If you don't understand something the first time, reread it. If you still don't understand it, it is sometimes 阅读全文
posted @ 2024-10-11 21:39 codists 阅读(37) 评论(0) 推荐(0) 编辑
摘要:《Programming from the Ground Up》学习第11天,p217-p238总结,总计22页。 一、技术总结 1.C compiling p216, C compiling is split into two stages - the preprocessor and the m 阅读全文
posted @ 2024-10-10 13:05 codists 阅读(10) 评论(0) 推荐(0) 编辑
摘要:《Programming from the Ground Up》学习第10天,p181-p216总结,总计34页。 一、技术总结 第10章主要讲计算机是如何计算的,如十进制、二进制、八进制、十六进制以及浮点数和负数的表示。属于比较基础的内容,如果有一定基础,本章可跳过。 1.exponent & m 阅读全文
posted @ 2024-10-09 22:41 codists 阅读(15) 评论(0) 推荐(0) 编辑
摘要:《Programming from the Ground Up》学习第9天,p147-p180总结,总计34页。 一、技术总结 1.Physical memeory p152, Physical memory refers to the actual RAM chips inside your co 阅读全文
posted @ 2024-10-08 10:34 codists 阅读(10) 评论(0) 推荐(0) 编辑
摘要:2024年9月编程人总共更新了2篇文章: 1.2024年8月文章一览 2.《Programming from the Ground Up》阅读笔记:p117-p146 欢迎搜索及关注:编程人(a_codists) 阅读全文
posted @ 2024-10-04 16:40 codists 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示