Skip to content

Commit

Permalink
refactor: remove default_version field from DependencyConfig
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
Marvin Zhang committed Dec 30, 2024
1 parent d4d7714 commit 9bdb0c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/models/models/dependency_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:"-"`
Expand Down

0 comments on commit 9bdb0c9

Please sign in to comment.