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:
2025-10-03 18:45:49 -03:00
parent af24fa84a2
commit df4c76bd99

View File

@@ -2,14 +2,12 @@ package configs
type Manifest struct {
Info struct {
Name string `toml:"name"`
Id string `toml:"id"`
Version string `toml:"version"`
Description string `toml:"description"`
Dependencies []string `toml:"dependencies"`
Author string `toml:"author"`
Family string `toml:"family"`
Serial uint `toml:"serial"`
Name string `toml:"name"`
Id string `toml:"id"`
Version string `toml:"version"`
Description string `toml:"description"`
Dependencies map[string]string `toml:"dependencies"`
Author string `toml:"author"`
} `toml:"Info"`
Hooks struct {
Install string `toml:"install"`