summaryrefslogtreecommitdiff
path: root/bilibili/model.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-11 22:56:07 +0800
committerKeuin <[email protected]>2023-07-11 22:56:07 +0800
commitf5c63cde56eb35c0125a0545f084441cdd4340ab (patch)
treecf24779daaa3067902bef91d21bcdee7a78fd059 /bilibili/model.go
parent7fd817f6d1ead3de85294c1893a6e1572a1d12e3 (diff)
Refactor: move data structures to a separate package to avoid circular dependency.
Diffstat (limited to 'bilibili/model.go')
-rw-r--r--bilibili/model.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/bilibili/model.go b/bilibili/model.go
deleted file mode 100644
index ccffef9..0000000
--- a/bilibili/model.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package bilibili
-
-type BaseResponse[T any] struct {
- Code int `json:"code"`
- Message string `json:"message"`
- TTL int `json:"ttl"`
- Data T `json:"data"`
-}