From f5c63cde56eb35c0125a0545f084441cdd4340ab Mon Sep 17 00:00:00 2001 From: Keuin Date: Tue, 11 Jul 2023 22:56:07 +0800 Subject: Refactor: move data structures to a separate package to avoid circular dependency. --- bilibili/model.go | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 bilibili/model.go (limited to 'bilibili/model.go') 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"` -} -- cgit v1.2.3