godash/services/bookmark.types.go

40 lines
640 B
Go
Raw Normal View History

2024-03-18 16:12:25 +01:00
package services
type BookmarkService struct {
2024-06-11 18:36:49 +02:00
bookmarks Bookmarks
SimpleIcons SimpleIcons
2024-03-18 16:12:25 +01:00
}
type Bookmarks struct {
Links []struct {
Category string
Entries []Link
}
Applications []struct {
Category string
Entries []Application
}
}
type Link struct {
Name string
URL string
}
type Application struct {
2024-06-11 19:42:37 +02:00
Name string
Icon string
IgnoreColor bool `yaml:"ignore_color"`
OverwriteColor string `yaml:"overwrite_color"`
URL string
2024-06-11 18:36:49 +02:00
}
type SimpleIcons struct {
Icons []SimpleIcon `json:"icons"`
}
type SimpleIcon struct {
Title string `json:"title"`
Hex string `json:"hex"`
2024-03-18 16:12:25 +01:00
}