This commit is contained in:
2025-08-24 11:24:52 +08:00
parent ec23aa5c26
commit 61e51ad014
12 changed files with 11554 additions and 4 deletions

View File

@@ -59,27 +59,27 @@
- _需求: 4.1, 4.2, 4.3_
- [ ] 6. 实现接口学习模块
- [ ] 6.1 创建接口基础示例
- [x] 6.1 创建接口基础示例
- 编写 05-interfaces/01-basic-interfaces.go展示接口的定义和实现
- 编写 05-interfaces/02-empty-interface.go演示空接口的使用
- 编写 05-interfaces/03-type-assertions.go展示类型断言的使用
- _需求: 3.2_
- [ ] 7. 实现并发编程学习模块
- [ ] 7.1 创建 Goroutine 和 Channel 示例
- [x] 7.1 创建 Goroutine 和 Channel 示例
- 编写 06-concurrency/01-goroutines.go展示 goroutine 的基础使用
- 编写 06-concurrency/02-channels.go演示 channel 的各种操作
- 编写 06-concurrency/03-select.go展示 select 语句的使用
- _需求: 5.1, 5.2, 5.3_
- [ ] 7.2 创建同步和高级并发示例
- [x] 7.2 创建同步和高级并发示例
- 编写 06-concurrency/04-sync-package.go展示 sync 包的使用方法
- 编写 06-concurrency/05-worker-pools.go演示工作池模式
- 提供避免竞态条件的最佳实践示例
- _需求: 5.1, 5.2, 5.3_
- [ ] 8. 实现错误处理学习模块
- [ ] 8.1 创建错误处理示例
- [x] 8.1 创建错误处理示例
- 编写 07-error-handling/01-basic-errors.go展示基本错误处理
- 编写 07-error-handling/02-custom-errors.go演示自定义错误类型
- 编写 07-error-handling/03-panic-recover.go展示 panic 和 recover 的使用