公告板
版本库
filestore
活动
搜索
登录
Hunter
/
Linux/v2ray-core
v2fly/v2ray-core
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
git add
Hunter0x7c7
2022-08-11
a82f9cb69f63aaeba40c024960deda7d75b9fece
[Hunter/Linux/v2ray-core.git]
/
common
/
task
/
common.go
1
2
3
4
5
6
7
8
9
10
package task
import "github.com/v2fly/v2ray-core/v5/common"
// Close returns a func() that closes v.
func Close(v interface{}) func() error {
return func() error {
return common.Close(v)
}
}