mirror of
https://github.com/hanzoai/dashscope-go-sdk.git
synced 2026-09-30 21:39:25 +00:00
chore: update module path to github.com/hanzoai/dashscope-go-sdk
This commit is contained in:
@@ -3,7 +3,7 @@ package embedding
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
"github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
dashscopego "github.com/casibase/dashscope-go-sdk"
|
||||
dashscopego "github.com/hanzoai/dashscope-go-sdk"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/paraformer"
|
||||
"github.com/hanzoai/dashscope-go-sdk/paraformer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -4,12 +4,12 @@ import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
dashscopego "github.com/casibase/dashscope-go-sdk"
|
||||
"github.com/casibase/dashscope-go-sdk/embedding"
|
||||
dashscopego "github.com/hanzoai/dashscope-go-sdk"
|
||||
"github.com/hanzoai/dashscope-go-sdk/embedding"
|
||||
|
||||
//"os"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/qwen"
|
||||
"github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
dashscopego "github.com/casibase/dashscope-go-sdk"
|
||||
dashscopego "github.com/hanzoai/dashscope-go-sdk"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/qwen"
|
||||
"github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
dashscopego "github.com/casibase/dashscope-go-sdk"
|
||||
dashscopego "github.com/hanzoai/dashscope-go-sdk"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/qwen"
|
||||
"github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -10,9 +10,9 @@ import (
|
||||
"os/user"
|
||||
"path/filepath"
|
||||
|
||||
dashscopego "github.com/casibase/dashscope-go-sdk"
|
||||
dashscopego "github.com/hanzoai/dashscope-go-sdk"
|
||||
|
||||
"github.com/casibase/dashscope-go-sdk/wanx"
|
||||
"github.com/hanzoai/dashscope-go-sdk/wanx"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module github.com/casibase/dashscope-go-sdk
|
||||
module github.com/hanzoai/dashscope-go-sdk
|
||||
|
||||
go 1.21.0
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package dashscopego
|
||||
|
||||
import (
|
||||
"github.com/casibase/dashscope-go-sdk/qwen"
|
||||
"github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
)
|
||||
|
||||
//nolint:lll
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
"github.com/gabriel-vasile/mimetype"
|
||||
)
|
||||
|
||||
|
||||
+5
-5
@@ -6,11 +6,11 @@ import (
|
||||
"log"
|
||||
"strings"
|
||||
|
||||
embedding "github.com/casibase/dashscope-go-sdk/embedding"
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
"github.com/casibase/dashscope-go-sdk/paraformer"
|
||||
"github.com/casibase/dashscope-go-sdk/qwen"
|
||||
"github.com/casibase/dashscope-go-sdk/wanx"
|
||||
embedding "github.com/hanzoai/dashscope-go-sdk/embedding"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
"github.com/hanzoai/dashscope-go-sdk/paraformer"
|
||||
"github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
"github.com/hanzoai/dashscope-go-sdk/wanx"
|
||||
)
|
||||
|
||||
type TongyiClient struct {
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
qwen "github.com/casibase/dashscope-go-sdk/qwen"
|
||||
wanx "github.com/casibase/dashscope-go-sdk/wanx"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
qwen "github.com/hanzoai/dashscope-go-sdk/qwen"
|
||||
wanx "github.com/hanzoai/dashscope-go-sdk/wanx"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"go.uber.org/mock/gomock"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
httpclient "github.com/casibase/dashscope-go-sdk/httpclient"
|
||||
httpclient "github.com/hanzoai/dashscope-go-sdk/httpclient"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user