update package name

This commit is contained in:
aynakeya
2024-04-09 19:43:47 -07:00
parent ae21931ef7
commit abd4e6895a
6 changed files with 10 additions and 10 deletions

View File

@@ -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"

View File

@@ -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
View File

@@ -1,4 +1,4 @@
module liveroom
module github.com/AynaLivePlayer/liveroom
go 1.20

View File

@@ -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"
)

View File

@@ -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"

View File

@@ -1,6 +1,6 @@
package utils
import "liveroom"
import "github.com/AynaLivePlayer/liveroom"
func BilibiliGuardLevelToPrivilege(level int) int {
switch level {