]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
1
authorqydysky <qydysky@foxmail.com>
Wed, 1 May 2024 15:04:24 +0000 (15:04 +0000)
committerqydysky <qydysky@foxmail.com>
Wed, 1 May 2024 15:04:24 +0000 (15:04 +0000)
F/api.go

index 09a3690ca85b41dc1f81de57f76048ef7222c147..20cf0a542902921efbed6944aad79334b83b32fe 100644 (file)
--- a/F/api.go
+++ b/F/api.go
@@ -50,10 +50,10 @@ type GetFunc struct {
        l     sync.RWMutex
 }
 
-type cacheItem struct {
-       data     any
-       exceeded time.Time
-}
+// type cacheItem struct {
+//     data     any
+//     exceeded time.Time
+// }
 
 func Get(c *c.Common) *GetFunc {
        return &GetFunc{Common: c}