(data any)
| 144 | } |
| 145 | |
| 146 | func GetJsonString(data any) string { |
| 147 | if data == nil { |
| 148 | return "" |
| 149 | } |
| 150 | b, _ := json.Marshal(data) |
| 151 | return string(b) |
| 152 | } |
| 153 | |
| 154 | func UnmarshalBodyReusable(c *gin.Context, v any) error { |
| 155 | requestBody, err := GetRequestBody(c) |