Refactor Manifest struct to change Dependencies from slice to map for better dependency management, and removing somethings from manifest struct too
This commit is contained in:
@@ -6,10 +6,8 @@ type Manifest struct {
|
|||||||
Id string `toml:"id"`
|
Id string `toml:"id"`
|
||||||
Version string `toml:"version"`
|
Version string `toml:"version"`
|
||||||
Description string `toml:"description"`
|
Description string `toml:"description"`
|
||||||
Dependencies []string `toml:"dependencies"`
|
Dependencies map[string]string `toml:"dependencies"`
|
||||||
Author string `toml:"author"`
|
Author string `toml:"author"`
|
||||||
Family string `toml:"family"`
|
|
||||||
Serial uint `toml:"serial"`
|
|
||||||
} `toml:"Info"`
|
} `toml:"Info"`
|
||||||
Hooks struct {
|
Hooks struct {
|
||||||
Install string `toml:"install"`
|
Install string `toml:"install"`
|
||||||
|
|||||||
Reference in New Issue
Block a user