Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update package name #9

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package provides an interface for interacting with services offered by Open
To install the OpenAI package, use the go get command:

```bash
go get github.com/Simplou/openai/v1
go get github.com/Simplou/openai
```

## Usage
Expand All @@ -26,7 +26,7 @@ import (
"context"

"github.com/Simplou/goxios"
"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

const fileName = "hello.mp3"
Expand Down Expand Up @@ -70,7 +70,7 @@ import (
"context"

"github.com/Simplou/goxios"
"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

const fileName = "hello.mp3"
Expand Down Expand Up @@ -106,7 +106,7 @@ import (
"context"

"github.com/Simplou/goxios"
"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

var (
Expand Down Expand Up @@ -143,7 +143,7 @@ import (
"context"

"github.com/Simplou/goxios"
"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

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

"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

const fileName = "hello.mp3"
Expand Down
2 changes: 1 addition & 1 deletion example/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"log"

"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

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

"github.com/Simplou/goxios"
"github.com/Simplou/openai/v1"
"github.com/Simplou/openai"
)

var (
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/Simplou/openai/v1
module github.com/Simplou/openai

go 1.22.0

Expand Down
Loading