package
0.0.0-20250114021635-46e1121b7d64
Repository: https://github.com/udistrital/utils_oas.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
FillStruct attempts to fill an `interface{}` with another `interface{}` Example Usage type User struct { Id int Name string } userStruct := User{2, "Pepe"} var userMap map[string]interface{} if err := formatdata.FillStruct(userStruct, &userMap); err != nil { panic(err) } logs.Info("struct --> map OK", userMap) var userStruct2 User if err := formatdata.FillStruct(userMap, &userStruct2); err != nil { panic(err) } logs.Info("map --> struct OK", userStruct2).
FillStructBson ..
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StructValidation ..
ToMap usa los tags en los campos del struct para decidir cuales campos se agregan al map retornado.