79220289

Date: 2024-11-24 14:34:39
Score: 2
Natty:
Report link

As Zeke Lu suggested use ShouldBindBodyWith(&param, binding.JSON) instead. I had a similar problem where I had to bind json twice, first in authorization layer, then the final context layer. I used ShouldBindJSON, and it returned EOF.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: robertt