mirror of
https://github.com/arnaucube/padArchiver.git
synced 2026-02-07 03:36:49 +01:00
small update with some improvements, updated readme
This commit is contained in:
Binary file not shown.
@@ -9,11 +9,14 @@ import (
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
||||
//PadModel is the data struct of each pad in the list.json file
|
||||
type PadModel struct {
|
||||
Link string `json:"link"`
|
||||
Dir string `json:"dir"`
|
||||
Title string `json:"title"`
|
||||
}
|
||||
|
||||
//ListModel is the struct of the data from the list.json file
|
||||
type ListModel struct {
|
||||
RepoID string `json:"repoid"`
|
||||
Pads []PadModel `json:"pads"`
|
||||
|
||||
Reference in New Issue
Block a user