You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
└─# godotenv go test ./.../payment -v
=== RUN TestCreatePaymentLink
2024-11-19T04:00:55.666+0530 DEBUG payment/route.go:88 Error: json: cannot unmarshal number into Go struct field LinkEntity.cf_link_id of type string
route_test.go:9: json: cannot unmarshal number into Go struct field LinkEntity.cf_link_id of type string
--- FAIL: TestCreatePaymentLink (0.36s)
FAIL
FAIL src/pkg/module/payment 0.363s
FAIL
2024/11/19 04:00:55 exit status 1
i am getting error "json: cannot unmarshal number into Go struct field LinkEntity.cf_link_id of type string"
output
there is one possible solution is that i have change it to int from *string then it works here https://github.com/cashfree/cashfree-pg/blob/main/model_link_entity.go line number 23 on struct LinkEntity and it work
The text was updated successfully, but these errors were encountered: