ficsit-cli-flake/cli/cache/uplugin.go
mircearoata e4b02a792d
feat: offline mode (#14)
* chore: move mod downloading to cli/cache

* feat: data providers, ficsit and local

* feat: keep cache in memory, load on init

* feat: log invalid cache files instead of returning error

* chore: make linter happy

* feat: fill cached mod Authors field from CreatedBy

* chore: make linter happy again

* feat: add icon and size to cached mods

* feat: cache the cached file hashes

* fix: change to new provider access style

---------

Co-authored-by: Vilsol <me@vil.so>
2023-12-06 06:47:41 +02:00

16 lines
466 B
Go

package cache
type UPlugin struct {
SemVersion string `json:"SemVersion"`
FriendlyName string `json:"FriendlyName"`
Description string `json:"Description"`
CreatedBy string `json:"CreatedBy"`
Plugins []Plugins `json:"Plugins"`
}
type Plugins struct {
Name string `json:"Name"`
SemVersion string `json:"SemVersion"`
Enabled bool `json:"Enabled"`
BasePlugin bool `json:"BasePlugin"`
Optional bool `json:"Optional"`
}