
Hi
While using NodeJS sdk, you get document in form of js object with all attributes as members, in Go Sdk, I notice we got Document type/struct as return with only the following fields accessible:
type Document struct {
// Document ID.
Id string json:"$id"
// Collection ID.
CollectionId string json:"$collectionId"
// Database ID.
DatabaseId string json:"$databaseId"
// Document creation date in ISO 8601 format.
CreatedAt string json:"$createdAt"
// Document update date in ISO 8601 format.
UpdatedAt string json:"$updatedAt"
// Document permissions. Learn more about
// permissions.
Permissions []string json:"$permissions"
}
I am really stuck, I tried decode function but it couldnt get to work
All help is appreciated 🙂
Recommended threads
- PR Review and Issue Assign?
I am not familiar with how things work here. I know that Issue have to be assigned before solving problem, It is for not wasting contributors time but I like t...
- 500 internal error when trying to access...
Hello team, I am having trouble trying to access my projects in Appwrite. Each time I try to click in a project I want to open it doesn't load immediately and ...
- Appwrite vs. Supabase comparison
Hello! I am working on a team and deciding between Appwrite and Supabase. I am leaning towards Appwrite and decided to look through the Appwrite vs. Supabase co...
