From 9bdb0c969f35500850a940177143586b7d3f1048 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Mon, 30 Dec 2024 15:14:21 +0800 Subject: [PATCH] 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. --- core/models/models/dependency_config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/models/models/dependency_config.go b/core/models/models/dependency_config.go index e543c5c8..d05a5f34 100644 --- a/core/models/models/dependency_config.go +++ b/core/models/models/dependency_config.go @@ -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:"-"`