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. --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index b53b63b..7d3fc37 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,6 @@ import ( "fmt" "github.com/akamensky/argparse" "github.com/keuin/slbr/bilibili" - "github.com/keuin/slbr/common" "github.com/keuin/slbr/logging" "github.com/keuin/slbr/recording" "github.com/mitchellh/mapstructure" @@ -139,7 +138,7 @@ func getTasks() (tasks []recording.TaskConfig) { } for i := 0; i < taskCount; i++ { tasks[i] = recording.TaskConfig{ - RoomId: common.RoomId((*rooms)[i]), + RoomId: bilibili.RoomId((*rooms)[i]), Transport: recording.DefaultTransportConfig(), Download: recording.DownloadConfig{ DiskWriteBufferBytes: int64(diskBufSize), -- cgit v1.2.3