sdk-for-go
sdk-for-go copied to clipboard
undeclared name : object in "users.go" & "database.go" in SDK
👟 Reproduction steps
I recently was trying to use this sdk for my project work, I came across the unmatched datatype object
was throwing issues.
👍 Expected behavior
The expected type would be interface{}
or map[string]interface{}
would resolve this issue.
👎 Actual Behavior
As the Object
is not supported by go, the go compiler is showing it as undeclared name.
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Windows
🧱 Your Environment
No
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
Hi @eldadfux, I could see the work is progress for this repo. I would like to work on this if this repo is still open for contribution?
There is one more too, the examples in docs/examples/users/create.md
, having wrong syntax var client := appwrite.Client{}
. It could be var client = appwrite.Client{}
or client := appwrite.Client{}
.