format: package name -> github.com/QuantumNous/new-api (#2017)

This commit is contained in:
Seefs
2025-10-11 15:30:09 +08:00
committed by GitHub
parent ff530f991b
commit 5010f2d004
258 changed files with 1225 additions and 1023 deletions
+5 -4
View File
@@ -4,12 +4,13 @@ import (
"errors"
"io"
"net/http"
"one-api/dto"
"one-api/relay/channel"
relaycommon "one-api/relay/common"
"one-api/types"
"strings"
"github.com/QuantumNous/new-api/dto"
"github.com/QuantumNous/new-api/relay/channel"
relaycommon "github.com/QuantumNous/new-api/relay/common"
"github.com/QuantumNous/new-api/types"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -1,6 +1,6 @@
package xunfei
import "one-api/dto"
import "github.com/QuantumNous/new-api/dto"
type XunfeiMessage struct {
Role string `json:"role"`
+6 -5
View File
@@ -8,14 +8,15 @@ import (
"fmt"
"io"
"net/url"
"one-api/common"
"one-api/constant"
"one-api/dto"
"one-api/relay/helper"
"one-api/types"
"strings"
"time"
"github.com/QuantumNous/new-api/common"
"github.com/QuantumNous/new-api/constant"
"github.com/QuantumNous/new-api/dto"
"github.com/QuantumNous/new-api/relay/helper"
"github.com/QuantumNous/new-api/types"
"github.com/gin-gonic/gin"
"github.com/gorilla/websocket"
)