Skip to content

Commit 79148cb

Browse files
committed
comment
1 parent 086af5f commit 79148cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/conf/cfgcommon/types/listable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// Listable allows a field to be unmarshalled from a single object or a list of objects.
1111
// If the json input is a single object, it will be stored as a slice with one element.
12-
// If the json input is null or empty, it will be nil.
12+
// If the json input is null or empty or a single empty object, it will be nil.
1313
type Listable[T any] []T
1414

1515
func (l *Listable[T]) UnmarshalJSON(data []byte) error {

0 commit comments

Comments
 (0)