From b6eb2c0da4e653c6fdd278bcbdcd55ec376cd481 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sun, 2 Jul 2023 14:48:47 +0800 Subject: Refactor: move RoomId type to the correct package. Type all room ID usages. --- recording/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'recording') diff --git a/recording/config.go b/recording/config.go index 7dbf189..9a95e62 100644 --- a/recording/config.go +++ b/recording/config.go @@ -3,11 +3,10 @@ package recording import ( "fmt" "github.com/keuin/slbr/bilibili" - "github.com/keuin/slbr/common" ) type TaskConfig struct { - RoomId common.RoomId `mapstructure:"room_id"` + RoomId bilibili.RoomId `mapstructure:"room_id"` Transport TransportConfig `mapstructure:"transport"` Download DownloadConfig `mapstructure:"download"` Watch WatchConfig `mapstructure:"watch"` -- cgit v1.2.3