Closed hungrymonkey closed 2 months ago
@tangyang9464 @JalinWang @imp2002
@hungrymonkey this is not Go SDK related. And your error seems to be a primary key in SQL error. Your database is bad
Thanks. GetRecords was failing. I didn't have error messages.
This example is incomplete
https://github.com/casdoor/casdoor/blob/master/object/init_data_dump_test.go
The code below is incomplete too
https://github.com/casdoor/casdoor/issues/2461
Can someone tell me how to use the SDK to dump the casdoor init_data.json?
Example project
casdoor.zip
The example project has a known issue unrelated to the bug report. You will need to run docker volume prune -a and delete the saved volume. You cannot start the same volume twice.