Skip to content

doc: Update golang.md#938

Merged
jaywcjlove merged 1 commit intojaywcjlove:mainfrom
Harris-H:feat/add-golang-context
Mar 11, 2025
Merged

doc: Update golang.md#938
jaywcjlove merged 1 commit intojaywcjlove:mainfrom
Harris-H:feat/add-golang-context

Conversation

@Harris-H
Copy link
Contributor

在 Golang 并发部分添加了 Context 包的基本用法示例,包括:

  • 创建不同类型的 Context(Background、TODO、WithCancel、WithTimeout、WithDeadline、WithValue)
  • 从 Context 获取值
  • 检查 Context 状态

@jaywcjlove jaywcjlove merged commit 19e258c into jaywcjlove:main Mar 11, 2025
github-actions bot pushed a commit that referenced this pull request Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants