mirror of
https://github.com/kardolus/chatgpt-cli.git
synced 2024-09-08 23:15:00 +03:00
Rename repository
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/kardolus/chatgpt-poc/http"
|
||||
"github.com/kardolus/chatgpt-poc/types"
|
||||
"github.com/kardolus/chatgpt-cli/http"
|
||||
"github.com/kardolus/chatgpt-cli/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"errors"
|
||||
"github.com/golang/mock/gomock"
|
||||
_ "github.com/golang/mock/mockgen/model"
|
||||
"github.com/kardolus/chatgpt-poc/client"
|
||||
"github.com/kardolus/chatgpt-poc/types"
|
||||
"github.com/kardolus/chatgpt-cli/client"
|
||||
"github.com/kardolus/chatgpt-cli/types"
|
||||
"testing"
|
||||
|
||||
. "github.com/onsi/gomega"
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/sclevine/spec/report"
|
||||
)
|
||||
|
||||
//go:generate mockgen -destination=mocks_test.go -package=client_test github.com/kardolus/chatgpt-poc/http Caller
|
||||
//go:generate mockgen -destination=mocks_test.go -package=client_test github.com/kardolus/chatgpt-cli/http Caller
|
||||
|
||||
var (
|
||||
mockCtrl *gomock.Controller
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by MockGen. DO NOT EDIT.
|
||||
// Source: github.com/kardolus/chatgpt-poc/http (interfaces: Caller)
|
||||
// Source: github.com/kardolus/chatgpt-cli/http (interfaces: Caller)
|
||||
|
||||
// Package client_test is a generated GoMock package.
|
||||
package client_test
|
||||
|
||||
@@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/kardolus/chatgpt-poc/client"
|
||||
"github.com/kardolus/chatgpt-poc/http"
|
||||
"github.com/kardolus/chatgpt-cli/client"
|
||||
"github.com/kardolus/chatgpt-cli/http"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
"os"
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/kardolus/chatgpt-poc
|
||||
module github.com/kardolus/chatgpt-cli
|
||||
|
||||
go 1.18
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/kardolus/chatgpt-poc/types"
|
||||
"github.com/kardolus/chatgpt-cli/types"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
|
||||
@@ -2,7 +2,7 @@ package http_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"github.com/kardolus/chatgpt-poc/http"
|
||||
"github.com/kardolus/chatgpt-cli/http"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user