Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持不同后端存储 #379

Closed
wants to merge 1 commit into from

Conversation

yvanu
Copy link

@yvanu yvanu commented Apr 22, 2024

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


pixiuConfig "github.com/caoyingjunz/pixiulib/config"
"github.com/gin-gonic/gin"
"github.com/spf13/cobra"
"gorm.io/driver/mysql"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

恢复非相关改动

defaultListen = 8080
defaultTokenKey = "pixiu"
defaultConfigFile = "/etc/pixiu/config.yaml"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@@ -19,6 +19,8 @@ package cluster
import (
"context"
"fmt"
"github.com/caoyingjunz/pixiu/pkg/db/iface"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

模块导入遵守 标准款,三方库,自定义库的顺序

"github.com/caoyingjunz/pixiu/pkg/db/dbconn"
"github.com/caoyingjunz/pixiu/pkg/types"
sqliteDriver "gorm.io/driver/sqlite"
"gorm.io/gorm"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修复ci问题

@@ -21,7 +21,7 @@ import (
"github.com/caoyingjunz/pixiu/pkg/controller/cluster"
"github.com/caoyingjunz/pixiu/pkg/controller/tenant"
"github.com/caoyingjunz/pixiu/pkg/controller/user"
"github.com/caoyingjunz/pixiu/pkg/db"
"github.com/caoyingjunz/pixiu/pkg/db/iface"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为啥要修改名称为iface

@yvanu yvanu closed this Apr 23, 2024
@yvanu yvanu deleted the 支持不同后端存储 branch April 23, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants