Skip to content

Commit

Permalink
rename internally
Browse files Browse the repository at this point in the history
  • Loading branch information
sashabaranov committed Mar 4, 2023
1 parent d59ab48 commit 9eea947
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion api_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion audio.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion audio_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion chat_stream.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion common.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// common.go defines common types used throughout the OpenAI API.
package gogpt
package openai

// Usage Represents the total token usage per request to OpenAI.
type Usage struct {
Expand Down
2 changes: 1 addition & 1 deletion completion.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion completion_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion edits.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion edits_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion embeddings.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion embeddings_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion engines.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import "fmt"

Expand Down
2 changes: 1 addition & 1 deletion files.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion files_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion image.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion image_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion models.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion moderation.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion moderation_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt
package openai

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion stream_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gogpt_test
package openai_test

import (
. "github.com/sashabaranov/go-openai"
Expand Down

0 comments on commit 9eea947

Please sign in to comment.