blog icon indicating copy to clipboard operation
blog copied to clipboard

极客兔兔的博客,Coding Coding 创建有趣的开源项目。

Results 103 blog issues
Sort by recently updated
recently updated
newest added

https://geektutu.com/post/geeorm-day7.html 7天用 Go语言/golang 从零实现 ORM 框架 GeeORM 教程(7 days implement golang object relational mapping framework from scratch tutorial),动手写 ORM 框架,参照 gorm, xorm 的实现。结构体(struct)变更时,数据库表的字段(field)自动迁移(migrate);仅支持字段新增与删除,不支持字段类型变更。

Gitalk
/post/geeorm-day7.html

https://geektutu.com/post/quick-golang.html 一篇文章入门Go语言,Go语言(Golang)简明教程,Go语言入门教程,Go语言中文教程(golang tutorial)。Go 是一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。本文介绍了 Go 语言的安装、基本类型(字符串str,整型,数组,切片slice,字典 map 等)、控制流(if, for range, for循环, switch 等)、复杂类型(结构体 struct, 接口 interface,方法 method 等),并发编程(sync, chan),错误处理(panic, error),Go Modules 引入第三方依赖,以及如何写测试代码(Unit Test)等。

Gitalk
/post/quick-golang.html

https://geektutu.com/post/hpg-gotchas-array-slice.html Go 语言/golang 高性能编程(high performance go),Go 语言进阶教程,Go 语言陷阱(gotchas)。这篇文章介绍了 Go 语言中数组(Array) 和切片(Slice)的常见陷阱和规避方式。例如数组作为参数,修改参数,原数组不会发生改变。

Gitalk
/post/hpg-gotchas-array-slice.html

https://geektutu.com/post/geerpc-day5.html 7天用 Go语言/golang 从零实现 RPC 框架 GeeRPC 教程(7 days implement golang remote procedure call framework from scratch tutorial),动手写 RPC 框架,参照 golang 标准库 net/rpc 的实现,实现了服务端(server)、支持异步和并发的客户端(client)、消息编码与解码(message encoding and decoding)、服务注册(service register)、支持 TCP/Unix/HTTP 等多种传输协议。第五天支持了...

Gitalk
/post/geerpc-day5.html

https://geektutu.com/post/gee-day1.html 7天用 Go语言 从零实现Web框架教程(7 days implement golang web framework from scratch tutorial),用 Go语言/golang 动手写Web框架,从零实现一个Web框架,从零设计一个Web框架。本文介绍了Go标准库 net/http 和 http.Handler 接口的使用,拦截所有的 HTTP 请求,交给Gee框架处理。

Gitalk
/post/gee-day1.html

https://geektutu.com/post/quick-go-gin.html Gin教程,Gin框架教程,Gin快速入门,Gin中文教程,Gin中文文档,Golang Web Framework Gin Tutorial (Go语言Web框架)。Go安装,环境搭建;热加载(hot reload, live reload);路由(Route, Router)和分组路由(Group Router);HTML模板(HTML Template);中间件(Middleware)。

Gitalk
/post/quick-go-gin.html

https://geektutu.com/post/geeorm-day3.html 7天用 Go语言/golang 从零实现 ORM 框架 GeeORM 教程(7 days implement golang object relational mapping framework from scratch tutorial),动手写 ORM 框架,参照 gorm, xorm 的实现。实现新增(insert)记录的功能;使用反射(reflect)将数据库的记录转换为对应的结构体实例,实现查询(select)功能。

Gitalk
/post/geeorm-day3.html

https://geektutu.com/post/7days-golang-q1.html Go 语言/golang 中函数式接口或接口型函数的实现与价值,什么是接口型函数,为什么不直接将函数作为参数,而是封装为一个接口。Go 语言标准库 net/http 中是如何使用接口型函数的。

Gitalk
/post/7days-golang-q1.html

https://geektutu.com/post/geecache-day7.html 7天用 Go语言/golang 从零实现分布式缓存 GeeCache 教程(7 days implement golang distributed cache from scratch tutorial),动手写分布式缓存,参照 groupcache 的实现。本文介绍了使用 protobuf(protocol buffer) 进行节点间通信,编码报文,提高效率

Gitalk
/post/geecache-day7.html

https://geektutu.com/post/geerpc-day1.html 7天用 Go语言/golang 从零实现 RPC 框架 GeeRPC 教程(7 days implement golang remote procedure call framework from scratch tutorial),动手写 RPC 框架,参照 golang 标准库 net/rpc 的实现,实现了服务端(server)、支持异步和并发的客户端(client)、消息编码与解码(message encoding and decoding)、服务注册(service register)、支持 TCP/Unix/HTTP 等多种传输协议。第一天实现了一个简单的服务端和消息的编码与解码。

Gitalk
/post/geerpc-day1.html