(value reflect.Value)
| 1011 | } |
| 1012 | |
| 1013 | func sortedReflectMapKeys(value reflect.Value) []reflect.Value { |
| 1014 | keys := value.MapKeys() |
| 1015 | sort.Slice(keys, func(i int, j int) bool { |
| 1016 | return fmt.Sprint(keys[i].Interface()) < fmt.Sprint(keys[j].Interface()) |
| 1017 | }) |
| 1018 | return keys |
| 1019 | } |
| 1020 | |
| 1021 | func configSequenceNode(value reflect.Value, fieldName string) (any, bool) { |
| 1022 | items := make([]any, 0, value.Len()) |