Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'util/context.go')
-rw-r--r--util/context.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/util/context.go b/util/context.go
deleted file mode 100644
index b768f05c..00000000
--- a/util/context.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package util
-
-import "context"
-
-func IsDone(ctx context.Context) bool {
- select {
- case <-ctx.Done():
- return true
- default:
- return false
- }
-}