Refactor to use plain GoStyleCamelCase instead of json_style_snake_case.
This commit is contained in:
parent
931c493928
commit
051474bdc9
12 changed files with 60 additions and 61 deletions
|
|
@ -48,7 +48,9 @@ func ReflectOnPost(typeOf reflect.Type, c *fiber.Ctx) (reflect.Value, error) {
|
|||
result_val = reflect.New(typeOf)
|
||||
result := result_val.Interface()
|
||||
|
||||
if err := c.BodyParser(result); err != nil {
|
||||
if err := c.BodyParser(result)
|
||||
|
||||
err != nil {
|
||||
log.Println(err);
|
||||
return result_val, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue