Skip to content

Commit

Permalink
1.修改module名称
Browse files Browse the repository at this point in the history
  • Loading branch information
pwh-pwh committed Jul 29, 2024
1 parent cab390e commit 6f74458
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/pwh-pwh/ai-gui/service"
"github.com/pwh-pwh/ai-gui/types"
"github.com/pwh-pwh/ai-gui/utils"
"os"
"path/filepath"
"wailsdemo/service"
"wailsdemo/types"
"wailsdemo/utils"
)

const CONFIG_FILE_NAME = "app.json"
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 wailsdemo
module github.com/pwh-pwh/ai-gui

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion service/chat.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package service

import "wailsdemo/types"
import "github.com/pwh-pwh/ai-gui/types"

type Chat interface {
Dochat([]types.Message) string
Expand Down
2 changes: 1 addition & 1 deletion service/echochat.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package service

import "wailsdemo/types"
import "github.com/pwh-pwh/ai-gui/types"

type EchoChat struct {
}
Expand Down
2 changes: 1 addition & 1 deletion service/errchat.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package service

import "wailsdemo/types"
import "github.com/pwh-pwh/ai-gui/types"

type ErrChat struct {
errMsg string
Expand Down
2 changes: 1 addition & 1 deletion service/gptchat.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package service
import (
"context"
"errors"
"github.com/pwh-pwh/ai-gui/types"
"github.com/sashabaranov/go-openai"
"wailsdemo/types"
)

type GptChat struct {
Expand Down

0 comments on commit 6f74458

Please sign in to comment.