small update with some improvements, updated readme

This commit is contained in:
arnaucode
2018-04-15 21:21:55 +02:00
parent 9bd5a48bcc
commit 9ecec88e7d
27 changed files with 58 additions and 16 deletions

Binary file not shown.

View File

@@ -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"`