support book for blog

This commit is contained in:
gzdaijie
2020-11-04 00:49:27 +08:00
parent 10fffe02a8
commit 1ac02ac302
33 changed files with 67 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ keywords:
- 缓存失效
image: post/geecache-day1/lru_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day1 LRU 缓存淘汰策略
---
+2
View File
@@ -15,6 +15,8 @@ keywords:
- sync.Mutex
image: post/geecache-day2/concurrent_cache_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day2 单机并发缓存
---
![geecache concurrent cache](geecache-day2/concurrent_cache.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- HTTP Server
image: post/geecache-day3/http_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day3 HTTP 服务端
---
![geecache http server](geecache-day3/http.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- consistent hash
image: post/geecache-day4/hash_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day4 一致性哈希
---
![一致性哈希 consistent hashing](geecache-day4/hash.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 分布式节点
image: post/geecache-day5/dist_nodes_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day5 分布式节点
---
![分布式缓存节点](geecache-day5/dist_nodes.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 分布式节点
image: post/geecache-day6/singleflight_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day6 防止缓存击穿
---
![geecache single flight](geecache-day6/singleflight.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 分布式节点
image: post/geecache-day7/protobuf_logo.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day7 使用 Protobuf 通信
---
![geecache protobuf](geecache-day7/protobuf.jpg)
+2
View File
@@ -13,6 +13,8 @@ keywords:
- 动手写分布式缓存
image: post/geecache/geecache_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day0 序言
---
![分布式缓存geecache](geecache/geecache.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- sqlite
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day1 database/sql 基础
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第一篇。介绍了
+2
View File
@@ -16,6 +16,8 @@ keywords:
- table mapping
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day2 对象表结构映射
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第二篇。
+2
View File
@@ -16,6 +16,8 @@ keywords:
- select from
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day3 记录新增和查询
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第三篇。
+2
View File
@@ -16,6 +16,8 @@ keywords:
- delete from
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day4 链式操作与更新删除
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第四篇。
+2
View File
@@ -16,6 +16,8 @@ keywords:
- BeforeUpdate
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day5 实现钩子
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第五篇。
+2
View File
@@ -15,6 +15,8 @@ keywords:
- transaction
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day6 支持事务
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第六篇。
+2
View File
@@ -15,6 +15,8 @@ keywords:
- migrate
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day7 数据库迁移
---
本文是[7天用Go从零实现ORM框架GeeORM](https://geektutu.com/post/geeorm.html)的第七篇。
+2
View File
@@ -15,6 +15,8 @@ keywords:
- sqlite3
image: post/geeorm/geeorm_sm.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day0 序言
---
![golang ORM framework](geeorm/geeorm.jpg)
+2
View File
@@ -15,6 +15,8 @@ keywords:
- 反序列化
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day1 服务端与消息编码
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -15,6 +15,8 @@ keywords:
- 并发
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day2 高性能客户端
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 服务
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day3 服务注册
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -13,6 +13,8 @@ keywords:
- 连接超时
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day4 超时处理
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- debug
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day5 支持HTTP协议
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 轮询调度
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day6 负载均衡
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- 服务发现
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day7 服务发现与注册中心
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -15,6 +15,8 @@ keywords:
- 负载均衡
image: post/geerpc/geerpc.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day0 序言
---
![golang RPC framework](geerpc/geerpc.jpg)
+2
View File
@@ -14,6 +14,8 @@ keywords:
- net/http
image: post/gee/gee.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day1 HTTP 基础
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第一篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- Context
image: post/gee/gee.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day2 上下文
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第二篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- Route
image: post/gee-day3/trie_router.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day3 前缀树路由
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第三篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- Group Control
image: post/gee-day4/group.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day4 分组控制
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第四篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- Middlewares
image: post/gee-day5/middleware.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day5 中间件
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第五篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- Template
image: post/gee-day6/html.png
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day6 模板 Template
---
本文是 [7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第六篇。
+2
View File
@@ -15,6 +15,8 @@ keywords:
- Recover
image: post/gee-day7/go-panic.png
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day7 错误恢复
---
本文是[7天用Go从零实现Web框架Gee教程系列](https://geektutu.com/post/gee.html)的第七篇。
+2
View File
@@ -14,6 +14,8 @@ keywords:
- from scratch
image: post/gee/gee.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: Day0 序言
---
![gee](gee/gee.jpg)
+3 -1
View File
@@ -1,6 +1,6 @@
---
title: Go 接口型函数的使用场景
date: 2099-10-25 12:30:00
date: 2020-10-25 12:30:00
description: Go 语言/golang 中函数式接口或接口型函数的实现与价值,什么是接口型函数,为什么不直接将函数作为参数,而是封装为一个接口。Go 语言标准库 net/http 中是如何使用接口型函数的。
tags:
- Go
@@ -13,6 +13,8 @@ keywords:
- net/http
image: post/7days-golang-q1/7days-golang-qa.jpg
github: https://github.com/geektutu/7days-golang
book: 七天用Go从零实现系列
book_title: 接口型函数
---
![7days-golang 有价值的问题](7days-golang-q1/7days-golang-qa.jpg)