diff --git a/app.go b/app.go index d4647f7..8e62fcb 100644 --- a/app.go +++ b/app.go @@ -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" diff --git a/go.mod b/go.mod index ebe2b31..07650a2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module wailsdemo +module github.com/pwh-pwh/ai-gui go 1.21 diff --git a/service/chat.go b/service/chat.go index 93152d0..670c4dd 100644 --- a/service/chat.go +++ b/service/chat.go @@ -1,6 +1,6 @@ package service -import "wailsdemo/types" +import "github.com/pwh-pwh/ai-gui/types" type Chat interface { Dochat([]types.Message) string diff --git a/service/echochat.go b/service/echochat.go index 445866f..c86e79f 100644 --- a/service/echochat.go +++ b/service/echochat.go @@ -1,6 +1,6 @@ package service -import "wailsdemo/types" +import "github.com/pwh-pwh/ai-gui/types" type EchoChat struct { } diff --git a/service/errchat.go b/service/errchat.go index 686d39d..6af3138 100644 --- a/service/errchat.go +++ b/service/errchat.go @@ -1,6 +1,6 @@ package service -import "wailsdemo/types" +import "github.com/pwh-pwh/ai-gui/types" type ErrChat struct { errMsg string diff --git a/service/gptchat.go b/service/gptchat.go index 5c0c254..04d100c 100644 --- a/service/gptchat.go +++ b/service/gptchat.go @@ -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 {