Improve comment formatting

Signed-off-by: Ben Ridley <benridley29@gmail.com>
This commit is contained in:
Ben Ridley 2020-11-24 15:34:13 +11:00
parent 0fe51de6e3
commit d177471822
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ type MuteTimeInterval struct {
TimeIntervals []timeinterval.TimeInterval `yaml:"time_intervals"`
}
// UnmarshalYAML implements the yaml.Unmarshaler interface for MuteTimeInterval
// UnmarshalYAML implements the yaml.Unmarshaler interface for MuteTimeInterval.
func (mt *MuteTimeInterval) UnmarshalYAML(unmarshal func(interface{}) error) error {
type plain MuteTimeInterval
if err := unmarshal((*plain)(mt)); err != nil {