1 package storage 2 3 import ( 4 "sync" 5 ) 6 7 var SubtitleTasks = sync.Map{} // task id -> SubtitleTask,用于接口查询数据