Skip to content

Commit 1ac02ac

Browse files
committed
support book for blog
1 parent 10fffe0 commit 1ac02ac

33 files changed

+67
-1
lines changed

gee-cache/doc/geecache-day1.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- 缓存失效
1616
image: post/geecache-day1/lru_logo.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day1 LRU 缓存淘汰策略
1820
---
1921

2022

gee-cache/doc/geecache-day2.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- sync.Mutex
1616
image: post/geecache-day2/concurrent_cache_logo.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day2 单机并发缓存
1820
---
1921

2022
![geecache concurrent cache](geecache-day2/concurrent_cache.jpg)

gee-cache/doc/geecache-day3.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- HTTP Server
1515
image: post/geecache-day3/http_logo.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day3 HTTP 服务端
1719
---
1820

1921
![geecache http server](geecache-day3/http.jpg)

gee-cache/doc/geecache-day4.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- consistent hash
1515
image: post/geecache-day4/hash_logo.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day4 一致性哈希
1719
---
1820

1921
![一致性哈希 consistent hashing](geecache-day4/hash.jpg)

gee-cache/doc/geecache-day5.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 分布式节点
1515
image: post/geecache-day5/dist_nodes_logo.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day5 分布式节点
1719
---
1820

1921
![分布式缓存节点](geecache-day5/dist_nodes.jpg)

gee-cache/doc/geecache-day6.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 分布式节点
1515
image: post/geecache-day6/singleflight_logo.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day6 防止缓存击穿
1719
---
1820

1921
![geecache single flight](geecache-day6/singleflight.jpg)

gee-cache/doc/geecache-day7.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 分布式节点
1515
image: post/geecache-day7/protobuf_logo.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day7 使用 Protobuf 通信
1719
---
1820

1921
![geecache protobuf](geecache-day7/protobuf.jpg)

gee-cache/doc/geecache.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ keywords:
1313
- 动手写分布式缓存
1414
image: post/geecache/geecache_sm.jpg
1515
github: https://github.com/geektutu/7days-golang
16+
book: 七天用Go从零实现系列
17+
book_title: Day0 序言
1618
---
1719

1820
![分布式缓存geecache](geecache/geecache.jpg)

gee-orm/doc/geeorm-day1.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- sqlite
1515
image: post/geeorm/geeorm_sm.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day1 database/sql 基础
1719
---
1820

1921
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第一篇。介绍了

gee-orm/doc/geeorm-day2.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ keywords:
1616
- table mapping
1717
image: post/geeorm/geeorm_sm.jpg
1818
github: https://github.com/geektutu/7days-golang
19+
book: 七天用Go从零实现系列
20+
book_title: Day2 对象表结构映射
1921
---
2022

2123
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第二篇。

gee-orm/doc/geeorm-day3.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ keywords:
1616
- select from
1717
image: post/geeorm/geeorm_sm.jpg
1818
github: https://github.com/geektutu/7days-golang
19+
book: 七天用Go从零实现系列
20+
book_title: Day3 记录新增和查询
1921
---
2022

2123
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第三篇。

gee-orm/doc/geeorm-day4.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ keywords:
1616
- delete from
1717
image: post/geeorm/geeorm_sm.jpg
1818
github: https://github.com/geektutu/7days-golang
19+
book: 七天用Go从零实现系列
20+
book_title: Day4 链式操作与更新删除
1921
---
2022

2123
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第四篇。

gee-orm/doc/geeorm-day5.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ keywords:
1616
- BeforeUpdate
1717
image: post/geeorm/geeorm_sm.jpg
1818
github: https://github.com/geektutu/7days-golang
19+
book: 七天用Go从零实现系列
20+
book_title: Day5 实现钩子
1921
---
2022

2123
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第五篇。

gee-orm/doc/geeorm-day6.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- transaction
1616
image: post/geeorm/geeorm_sm.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day6 支持事务
1820
---
1921

2022
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第六篇。

gee-orm/doc/geeorm-day7.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- migrate
1616
image: post/geeorm/geeorm_sm.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day7 数据库迁移
1820
---
1921

2022
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第七篇。

gee-orm/doc/geeorm.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- sqlite3
1616
image: post/geeorm/geeorm_sm.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day0 序言
1820
---
1921

2022
![golang ORM framework](geeorm/geeorm.jpg)

gee-rpc/doc/geerpc-day1.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- 反序列化
1616
image: post/geerpc/geerpc.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day1 服务端与消息编码
1820
---
1921

2022
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day2.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- 并发
1616
image: post/geerpc/geerpc.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day2 高性能客户端
1820
---
1921

2022
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day3.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 服务
1515
image: post/geerpc/geerpc.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day3 服务注册
1719
---
1820

1921
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day4.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ keywords:
1313
- 连接超时
1414
image: post/geerpc/geerpc.jpg
1515
github: https://github.com/geektutu/7days-golang
16+
book: 七天用Go从零实现系列
17+
book_title: Day4 超时处理
1618
---
1719

1820
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day5.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- debug
1515
image: post/geerpc/geerpc.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day5 支持HTTP协议
1719
---
1820

1921
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day6.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 轮询调度
1515
image: post/geerpc/geerpc.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day6 负载均衡
1719
---
1820

1921
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc-day7.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- 服务发现
1515
image: post/geerpc/geerpc.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day7 服务发现与注册中心
1719
---
1820

1921
![golang RPC framework](geerpc/geerpc.jpg)

gee-rpc/doc/geerpc.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- 负载均衡
1616
image: post/geerpc/geerpc.jpg
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day0 序言
1820
---
1921

2022
![golang RPC framework](geerpc/geerpc.jpg)

gee-web/doc/gee-day1.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- net/http
1515
image: post/gee/gee.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day1 HTTP 基础
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第一篇。

gee-web/doc/gee-day2.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- Context
1515
image: post/gee/gee.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day2 上下文
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第二篇。

gee-web/doc/gee-day3.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- Route
1515
image: post/gee-day3/trie_router.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day3 前缀树路由
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第三篇。

gee-web/doc/gee-day4.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- Group Control
1515
image: post/gee-day4/group.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day4 分组控制
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第四篇。

gee-web/doc/gee-day5.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- Middlewares
1515
image: post/gee-day5/middleware.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day5 中间件
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第五篇。

gee-web/doc/gee-day6.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- Template
1515
image: post/gee-day6/html.png
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day6 模板 Template
1719
---
1820

1921
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第六篇。

gee-web/doc/gee-day7.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ keywords:
1515
- Recover
1616
image: post/gee-day7/go-panic.png
1717
github: https://github.com/geektutu/7days-golang
18+
book: 七天用Go从零实现系列
19+
book_title: Day7 错误恢复
1820
---
1921

2022
本文是[7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第七篇。

gee-web/doc/gee.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ keywords:
1414
- from scratch
1515
image: post/gee/gee.jpg
1616
github: https://github.com/geektutu/7days-golang
17+
book: 七天用Go从零实现系列
18+
book_title: Day0 序言
1719
---
1820

1921
![gee](gee/gee.jpg)

questions/7days-golang-q1.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Go 接口型函数的使用场景
3-
date: 2099-10-25 12:30:00
3+
date: 2020-10-25 12:30:00
44
description: Go 语言/golang 中函数式接口或接口型函数的实现与价值,什么是接口型函数,为什么不直接将函数作为参数,而是封装为一个接口。Go 语言标准库 net/http 中是如何使用接口型函数的。
55
tags:
66
- Go
@@ -13,6 +13,8 @@ keywords:
1313
- net/http
1414
image: post/7days-golang-q1/7days-golang-qa.jpg
1515
github: https://github.com/geektutu/7days-golang
16+
book: 七天用Go从零实现系列
17+
book_title: 接口型函数
1618
---
1719

1820
![7days-golang 有价值的问题](7days-golang-q1/7days-golang-qa.jpg)

0 commit comments

Comments
 (0)