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

This commit is contained in:
Mike Schwörer 2024-04-08 16:33:44 +02:00
parent 8446b2da22
commit 24d9f0fdc7
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
package goext package goext
const GoextVersion = "0.0.428" const GoextVersion = "0.0.429"
const GoextVersionTimestamp = "2024-04-08T16:32:34+0200" const GoextVersionTimestamp = "2024-04-08T16:33:44+0200"

View File

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