mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-29 23:39:59 +08:00
add diange source command & fix bilibili video
This commit is contained in:
@@ -38,3 +38,9 @@ func StringToInt(s string) int {
|
||||
i, _ := strconv.Atoi(s)
|
||||
return i
|
||||
}
|
||||
|
||||
func StringSliceCopy(src []string) []string {
|
||||
x := make([]string, len(src))
|
||||
copy(x, src)
|
||||
return x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user