consolidate booleans in struct

this is attempt to fix maligned lint error
This commit is contained in:
Matej Drobnic
2022-04-07 20:02:52 +02:00
parent b38928eac0
commit eb93dd927a
+2 -2
View File
@@ -38,10 +38,10 @@ type Config struct {
YouTubeDLArgs []string `toml:"youtube_dl_args"`
// Included in OPML file
OPML bool `toml:"opml"`
// Playlist sort
PlaylistSort model.Sorting `toml:"playlist_sort"`
// Private feed (not indexed by podcast aggregators)
PrivateFeed bool `toml:"private_feed"`
// Playlist sort
PlaylistSort model.Sorting `toml:"playlist_sort"`
}
type Filters struct {