Skip to content

feat: 子协程传递上下文 #146

@timandy

Description

@timandy

我们有追踪调用的需求, 但是 response api 里的 文件上传开启了子协程, 导致追踪号无法跨协程传播.

解决方法:

使用 github/timandy/routine 库, routine.Go() 开启子协程; 自动传播上下文.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions