v0.0.429
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m23s

This commit is contained in:
2024-04-08 16:33:44 +02:00
parent 8446b2da22
commit 24d9f0fdc7
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ type ConvertStructToMapOpt struct {
KeepJsonMarshalTypes bool
}
func ConvertStructToMap(v any, opts ...ConvertStructToMapOpt) any {
func ConvertStructToMap(v any, opts ...ConvertStructToMapOpt) map[string]any {
opt := ConvertStructToMapOpt{}
if len(opts) > 0 {
opt = opts[0]