refactor: remove default_version field from DependencyConfig

- Eliminated the default_version field from the DependencyConfig struct in dependency_config.go to streamline the configuration model.
- This change simplifies the dependency management process and aligns with recent updates in the application structure.
This commit is contained in:
Marvin Zhang
2024-12-30 15:14:21 +08:00
parent d4d771449d
commit 9bdb0c969f

View File

@@ -7,8 +7,7 @@ type DependencyConfig struct {
Name string `json:"name" bson:"name"`
ExecCmd string `json:"exec_cmd" bson:"exec_cmd"`
PkgCmd string `json:"pkg_cmd" bson:"pkg_cmd"`
Proxy string `json:"proxy" bson:"proxy"`
DefaultVersion string `json:"default_version" bson:"default_version"`
PkgSrcURL string `json:"pkg_src_url" bson:"pkg_src_url"`
Setup bool `json:"setup" bson:"-"`
TotalDependencies int `json:"total_dependencies" bson:"-"`
SearchReady bool `json:"search_ready" bson:"-"`