Ai
1 Star 0 Fork 0

go-genie/courier

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
context.go 300 Bytes
一键复制 编辑 原始数据 按行查看 历史
lijun 提交于 2024-02-19 15:06 +08:00 . init: initialization project
package courier
import "context"
type ContextWith = func(ctx context.Context) context.Context
func ComposeContextWith(contextWiths ...ContextWith) ContextWith {
return func(ctx context.Context) context.Context {
for i := range contextWiths {
ctx = contextWiths[i](ctx)
}
return ctx
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/go-genie/courier.git
git@gitee.com:go-genie/courier.git
go-genie
courier
courier
v1.0.3

搜索帮助