Skip to content

Commit 9bdb0c9

Browse files
author
Marvin Zhang
committed
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.
1 parent d4d7714 commit 9bdb0c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/models/models/dependency_config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ type DependencyConfig struct {
77
Name string `json:"name" bson:"name"`
88
ExecCmd string `json:"exec_cmd" bson:"exec_cmd"`
99
PkgCmd string `json:"pkg_cmd" bson:"pkg_cmd"`
10-
Proxy string `json:"proxy" bson:"proxy"`
11-
DefaultVersion string `json:"default_version" bson:"default_version"`
10+
PkgSrcURL string `json:"pkg_src_url" bson:"pkg_src_url"`
1211
Setup bool `json:"setup" bson:"-"`
1312
TotalDependencies int `json:"total_dependencies" bson:"-"`
1413
SearchReady bool `json:"search_ready" bson:"-"`

0 commit comments

Comments
 (0)