ZhangZhihui's Blog  

2026年3月19日

摘要: frank@ZZHPC:~/zproject/REST-API$ go mod init zrestapi go: creating new go.mod: module zrestapi frank@ZZHPC:~/zproject/REST-API$ go get -u github.com/g 阅读全文
posted @ 2026-03-19 16:42 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)
 
摘要: package main import "fmt" func main() { numbers := []int{1, 10, 15} sum := sumup(1, 10, 15, 40, -5) anotherSum := sumup(1, numbers...) fmt.Println(sum 阅读全文
posted @ 2026-03-19 16:12 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)
 
摘要: package main import "fmt" func main() { numbers := []int{1, 2, 3} double := createTransformer(2) triple := createTransformer(3) transformed := transfo 阅读全文
posted @ 2026-03-19 16:04 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0)
 
摘要: package main import "fmt" func main() { userNames := make([]string, 2, 3) fmt.Println(len(userNames), cap(userNames)) userNames = append(userNames, "M 阅读全文
posted @ 2026-03-19 11:00 ZhangZhihuiAAA 阅读(1) 评论(0) 推荐(0)
 
摘要: package main import "fmt" func main() { result1 := add(1, 2) fmt.Println(result1) result2 := add("abc", "def") fmt.Println(result2) } func add[T int | 阅读全文
posted @ 2026-03-19 10:04 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)

2026年3月17日

摘要: (fastapi-venv) frank@ZZHPC:~/zproject/TodoApp$ pip install jinja2 Collecting jinja2 Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB) Requir 阅读全文
posted @ 2026-03-17 14:24 ZhangZhihuiAAA 阅读(2) 评论(0) 推荐(0)

2026年3月16日

摘要: In simple terms, Dependency Injection (DI) in Pytest means that your test functions don't have to worry about creating the tools they need; they just 阅读全文
posted @ 2026-03-16 20:07 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)
 
摘要: (fastapi-venv) frank@ZZHPC:~/zproject/TodoApp$ pip install pytest Collecting pytest Downloading pytest-9.0.2-py3-none-any.whl.metadata (7.6 kB) Collec 阅读全文
posted @ 2026-03-16 10:23 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)

2026年3月13日

摘要: 简单来说,DataWorks 是阿里云大数据平台(MaxCompute、Hologres 等)的**“大脑”和“操作系统”**。 如果说 MaxCompute 是负责计算和存储的“发动机”,那么 DataWorks 就是驾驶舱。它提供了一站式的数据集成、开发、调度、治理和安全管理环境。 DataWo 阅读全文
posted @ 2026-03-13 09:39 ZhangZhihuiAAA 阅读(11) 评论(0) 推荐(0)
 
摘要: Hologres 是阿里云自主研发的一款**云原生 HSAP(Hybrid Serving/Analytical Processing)**分布式数据库。 它的核心目标是:在同一套系统中,同时支持实时数据分析(OLAP)和高并发的点查(Serving)。 在阿里云的大数据架构中,它通常被视为 Max 阅读全文
posted @ 2026-03-13 09:37 ZhangZhihuiAAA 阅读(14) 评论(0) 推荐(0)