feat quickly

This commit is contained in:
2026-01-12 00:44:57 +08:00
parent 43ca340d54
commit 1d5bc97cdd
30 changed files with 2664 additions and 140 deletions

View File

@@ -0,0 +1,34 @@
package backend
import (
"context"
)
type DatabaseConfig struct {
Name string `json:"name"`
TargetPath string `json:"targetPath"`
ModelPackagePath string `json:"modelPackagePath"`
}
type ProjectConfig struct {
Name string `json:"name"`
Path string `json:"path"`
}
type Settings struct {
Theme string `json:"theme"`
Language string `json:"language"`
Notifications bool `json:"notifications"`
AutoStart bool `json:"autoStart"`
MysqlModelPath string `json:"mysqlModelPath"`
DefaultQueryPackagePath string `json:"defaultQueryPackagePath"`
ModelBasePath string `json:"modelBasePath"`
SwaggerDir string `json:"swaggerDir"`
Databases []DatabaseConfig `json:"databases"`
Projects []ProjectConfig `json:"projects"`
}
type App struct {
ctx context.Context
settings Settings
}