mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-10-11 01:38:14 +08:00
10 lines
160 B
Go
10 lines
160 B
Go
//go:build go1.21
|
|
|
|
package contextutils
|
|
|
|
import "context"
|
|
|
|
func WithoutCancel(parent context.Context) context.Context {
|
|
return context.WithoutCancel(parent)
|
|
}
|