chore: change module name to geekai, add copyright in source code

This commit is contained in:
RockYang
2024-05-06 14:41:27 +08:00
parent c0a7f41747
commit b130466c8f
116 changed files with 1322 additions and 403 deletions

View File

@@ -1,5 +1,12 @@
package store
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// * Copyright 2023 The Geek-AI Authors. All rights reserved.
// * Use of this source code is governed by a Apache-2.0 license
// * that can be found in the LICENSE file.
// * @Author yangjian102621@163.com
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
import (
"encoding/json"

View File

@@ -1,7 +1,7 @@
package model
import (
"chatplus/core/types"
"geekai/core/types"
"gorm.io/gorm"
)

View File

@@ -1,7 +1,7 @@
package model
import (
"chatplus/core/types"
"geekai/core/types"
"time"
)

View File

@@ -1,7 +1,14 @@
package store
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// * Copyright 2023 The Geek-AI Authors. All rights reserved.
// * Use of this source code is governed by a Apache-2.0 license
// * that can be found in the LICENSE file.
// * @Author yangjian102621@163.com
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
import (
"chatplus/core/types"
"geekai/core/types"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"gorm.io/gorm/logger"

View File

@@ -1,8 +1,15 @@
package store
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// * Copyright 2023 The Geek-AI Authors. All rights reserved.
// * Use of this source code is governed by a Apache-2.0 license
// * that can be found in the LICENSE file.
// * @Author yangjian102621@163.com
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
import (
"chatplus/core/types"
"context"
"geekai/core/types"
"github.com/go-redis/redis/v8"
)

View File

@@ -1,8 +1,15 @@
package store
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// * Copyright 2023 The Geek-AI Authors. All rights reserved.
// * Use of this source code is governed by a Apache-2.0 license
// * that can be found in the LICENSE file.
// * @Author yangjian102621@163.com
// * +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
import (
"chatplus/utils"
"context"
"geekai/utils"
"github.com/go-redis/redis/v8"
)

View File

@@ -1,6 +1,6 @@
package vo
import "chatplus/core/types"
import "geekai/core/types"
type ChatRole struct {
BaseVo

View File

@@ -1,6 +1,6 @@
package vo
import "chatplus/core/types"
import "geekai/core/types"
type Config struct {
Id uint `json:"id"`

View File

@@ -1,7 +1,7 @@
package vo
import (
"chatplus/core/types"
"geekai/core/types"
)
type Order struct {

View File

@@ -1,6 +1,6 @@
package vo
import "chatplus/core/types"
import "geekai/core/types"
type PowerLog struct {
Id uint `json:"id"`

View File

@@ -1,7 +1,7 @@
package vo
import (
"chatplus/core/types"
"geekai/core/types"
"time"
)