上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页
摘要: 《用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 阅读(29) 评论(0) 推荐(0)
摘要: 《用Gin框架构建分布式应用》学习第7天,p101-p107总结,总计7页。 一、技术总结 1.StatusBadRequest vs StatusInternalServerError 写代码的时候有一个问题,什么时候使用 StatusBadRequest(400错误),什么时候使用 Status 阅读全文
posted @ 2024-10-21 00:06 codists 阅读(38) 评论(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 阅读(46) 评论(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 阅读(57) 评论(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 阅读(45) 评论(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 阅读(43) 评论(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 阅读(33) 评论(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 阅读(77) 评论(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 阅读(86) 评论(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 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 35 下一页