Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## v2.1.0

* Added `GetHeaders` method to `Client` for retrieving current request headers
* Fixed chunked upload resume handling for responses returned as strings
* Updated Go module path to `v2` for proper Go modules compatibility

## v2.0.0

* [BREAKING] Changed `$sequence` type from `int` to `string` for rows and documents
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ go mod init <YOUR_MODULE_NAME>
To install using `go get`:

```bash
go get github.com/appwrite/sdk-for-go
go get github.com/appwrite/sdk-for-go/v2
```

## Testing the SDK
Expand Down Expand Up @@ -51,8 +51,8 @@ go get github.com/appwrite/sdk-for-go
"os"
"time"

"github.com/appwrite/sdk-for-go/appwrite"
"github.com/appwrite/sdk-for-go/id"
"github.com/appwrite/sdk-for-go/v2/appwrite"
"github.com/appwrite/sdk-for-go/v2/id"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package account
import (
"encoding/json"
"errors"
"github.com/appwrite/sdk-for-go/client"
"github.com/appwrite/sdk-for-go/models"
"github.com/appwrite/sdk-for-go/v2/client"
"github.com/appwrite/sdk-for-go/v2/models"
"strings"
)

Expand Down
Loading
Loading