mirror of
https://github.com/AynaLivePlayer/liveroom-sdk.git
synced 2025-12-07 05:02:48 +08:00
update package name
This commit is contained in:
@@ -2,8 +2,8 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"liveroom"
|
||||
"liveroom/provider/openblive"
|
||||
"github.com/AynaLivePlayer/liveroom"
|
||||
"github.com/AynaLivePlayer/liveroom/provider/openblive"
|
||||
"os"
|
||||
"os/signal"
|
||||
"time"
|
||||
|
||||
@@ -2,8 +2,8 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"liveroom"
|
||||
"liveroom/provider/webdm"
|
||||
"github.com/AynaLivePlayer/liveroom"
|
||||
"github.com/AynaLivePlayer/liveroom/provider/webdm"
|
||||
"os"
|
||||
"os/signal"
|
||||
"time"
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module liveroom
|
||||
module github.com/AynaLivePlayer/liveroom
|
||||
|
||||
go 1.20
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ package openblive
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"github.com/AynaLivePlayer/liveroom"
|
||||
"github.com/AynaLivePlayer/liveroom/utils"
|
||||
openblive "github.com/aynakeya/open-bilibili-live"
|
||||
"liveroom"
|
||||
"liveroom/utils"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@ import (
|
||||
"errors"
|
||||
"github.com/AynaLivePlayer/blivedm-go/client"
|
||||
"github.com/AynaLivePlayer/blivedm-go/message"
|
||||
"github.com/AynaLivePlayer/liveroom"
|
||||
"github.com/AynaLivePlayer/liveroom/utils"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"github.com/spf13/cast"
|
||||
"liveroom"
|
||||
"liveroom/utils"
|
||||
)
|
||||
|
||||
const ProviderName = "biliweb"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package utils
|
||||
|
||||
import "liveroom"
|
||||
import "github.com/AynaLivePlayer/liveroom"
|
||||
|
||||
func BilibiliGuardLevelToPrivilege(level int) int {
|
||||
switch level {
|
||||
|
||||
Reference in New Issue
Block a user