From 70999d44cbf6a5d84f2def4a9d252eb648bd5076 Mon Sep 17 00:00:00 2001 From: aditya-K2 Date: Sat, 13 May 2023 02:30:37 +0530 Subject: [PATCH] Add yaml tags to Icons --- config/icons.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/icons.go b/config/icons.go index bf10de3..4f38cbf 100644 --- a/config/icons.go +++ b/config/icons.go @@ -8,18 +8,18 @@ type Icons struct { Tv string `mapstructure:"tv"` Avr string `mapstructure:"avr"` Stb string `mapstructure:"stb"` - AudioDongle string `mapstructure:"audio_dongle"` - GameConsole string `mapstructure:"game_console"` - CastVideo string `mapstructure:"cast_video"` - CastAudio string `mapstructure:"cast_audio"` + AudioDongle string `yaml:"audio_dongle" mapstructure:"audio_dongle"` + GameConsole string `yaml:"game_console" mapstructure:"game_console"` + CastVideo string `yaml:"cast_video" mapstructure:"cast_video"` + CastAudio string `yaml:"cast_audio" mapstructure:"cast_audio"` Automobile string `mapstructure:"automobile"` Playing string `mapstructure:"playing"` Paused string `mapstructure:"paused"` - ShuffleOn string `mapstructure:"shuffle_on"` - ShuffleOff string `mapstructure:"shuffle_off"` - RepeatOne string `mapstructure:"repeat_one"` - RepeatAll string `mapstructure:"repeat_all"` - RepeatOff string `mapstructure:"repeat_off"` + ShuffleOn string `yaml:"shuffle_on" mapstructure:"shuffle_on"` + ShuffleOff string `yaml:"shuffle_off" mapstructure:"shuffle_off"` + RepeatOne string `yaml:"repeat_one" mapstructure:"repeat_one"` + RepeatAll string `yaml:"repeat_all" mapstructure:"repeat_all"` + RepeatOff string `yaml:"repeat_off" mapstructure:"repeat_off"` } func NewIcons() *Icons {