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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-13 12:59:10 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-13 12:59:10 +0300
commit77241c7fcf156b6ebee13bf58f4342aca16292e1 (patch)
tree337ee6f97aa752389173831736ab731b4e6808dc /util/context.go
parentfd6a85afd9d1f5700245ce152844472b1cd24923 (diff)
pruning some codes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
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
- }
-}