Skip to content

Commit

Permalink
transfer to caiyunapp
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Nov 18, 2024
1 parent a6b61a4 commit 0c946be
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Quick Start

```bash
go get github.com/ringsaturn/azuretts
go get github.com/caiyunapp/azuretts
```

```go
Expand All @@ -13,7 +13,7 @@ import (
"context"
"os"

"github.com/ringsaturn/azuretts"
"github.com/caiyunapp/azuretts"
)

func main() {
Expand Down Expand Up @@ -50,7 +50,7 @@ func main() {
## CLI

```bash
go install github.com/ringsaturn/azuretts/cmd/azuretts
go install github.com/caiyunapp/azuretts/cmd/azuretts
```

NOTE: Please setup environment variables `SPEECH_KEY` and `SPEECH_REGION` before
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
const (
textToSpeechAPI = "https://%s.tts.speech.microsoft.com/cognitiveservices/v1"
tokenRefreshAPI = "https://%s.api.cognitive.microsoft.com/sts/v1.0/issueToken"
userAgent = "github.com/ringsaturn/azuretts@v0"
userAgent = "github.com/caiyunapp/azuretts@v0"

// https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions
subscriptionKeyHeader = "Ocp-Apim-Subscription-Key"
Expand Down
2 changes: 1 addition & 1 deletion cmd/azuretts/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"flag"
"os"

"github.com/ringsaturn/azuretts"
"github.com/caiyunapp/azuretts"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion example/multi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"os"

"github.com/ringsaturn/azuretts"
"github.com/caiyunapp/azuretts"
)

type MultiSpeak struct {
Expand Down
2 changes: 1 addition & 1 deletion example/single/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/ringsaturn/azuretts"
"github.com/caiyunapp/azuretts"
)

func buildFileName(speak *azuretts.Speak) string {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ringsaturn/azuretts
module github.com/caiyunapp/azuretts

go 1.23

Expand Down
2 changes: 1 addition & 1 deletion mockclient/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion speak_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package azuretts_test
import (
"testing"

"github.com/ringsaturn/azuretts"
"github.com/caiyunapp/azuretts"
)

func BenchmarkToXML(b *testing.B) {
Expand Down

0 comments on commit 0c946be

Please sign in to comment.