Use Binding API from gin #2

Closed
opened 2023-07-30 23:12:13 +02:00 by leon · 1 comment
leon commented 2023-07-30 23:12:13 +02:00 (Migrated from git.leon.wtf)

Use c.ShouldBindJSON() for API request body validation

Ref: https://gin-gonic.com/docs/examples/binding-and-validation/

Use c.ShouldBindJSON() for API request body validation Ref: https://gin-gonic.com/docs/examples/binding-and-validation/
leon commented 2023-07-30 23:12:13 +02:00 (Migrated from git.leon.wtf)

assigned to @leon

assigned to @leon
leon (Migrated from git.leon.wtf) closed this issue 2023-08-08 15:39:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/one-time-service#2
No description provided.