1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00

added google drive

This commit is contained in:
link
2023-01-16 05:54:44 +00:00
parent be50579544
commit 87d8be8c61
47 changed files with 3711 additions and 67 deletions

14
pkg/utils/ctx.go Normal file
View File

@ -0,0 +1,14 @@
package utils
import (
"context"
)
func IsCanceled(ctx context.Context) bool {
select {
case <-ctx.Done():
return true
default:
return false
}
}