💄 general formatting

This commit is contained in:
2025-05-29 00:38:48 +04:00
parent dc1cd05714
commit 6aeda3706b
10 changed files with 18 additions and 10 deletions

View File

@ -35,7 +35,7 @@ func (duration Duration) MarshalJSON() ([]byte, error) {
return json.Marshal(duration.String())
}
func (duration *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error {
func (duration *Duration) UnmarshalYAML(unmarshal func(any) error) error {
var v any
if err := unmarshal(&v); err != nil {
return err