Skip to content

Commit b5069c7

Browse files
Release 23.7.0 rev. 1 readme fix
1 parent ed4e229 commit b5069c7

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,28 @@ Aspose.OCR Cloud follows industry standards and best practices to keep your data
5555
### Running demo
5656

5757
1. Clone our repository
58-
2. Open [examples\example.go](examples\example.go) file and replace "YOUR_CLIENT_ID" and "YOUR_CLIENT_SECRET" with your credentials
59-
```go
58+
2. Install package
59+
```shell
60+
go get github.com/aspose-ocr-cloud/aspose-ocr-cloud-go
61+
```
62+
3. Open [examples\example.go](examples\example.go) file and replace "YOUR_CLIENT_ID" and "YOUR_CLIENT_SECRET" with your credentials
63+
```go
6064

6165
func main(){
6266

6367
clientId := "YOUR_CLIENT_ID"
6468
clientSecret := "YOUR_CLIENT_SECRET"
6569
...
6670
```
67-
3. Open a new terminal and navigate to the aspose-ocr-cloud-go/example/ directory
71+
4. Open a new terminal and navigate to the aspose-ocr-cloud-go/example/ directory
6872
```shell
6973
cd <path_to_sdk>/aspose-ocr-cloud-go/example/
7074
```
71-
4. Run example
75+
5. Run example
7276
```shell
7377
go run .\example.go
7478
```
75-
5. Files with test results will appear in the aspose-ocr-cloud-go/results/ folder
79+
6. Files with test results will appear in the aspose-ocr-cloud-go/results/ folder
7680
7781
Also, as a demo application, you can use the tests
7882
1. Clone our repository
@@ -82,7 +86,7 @@ go get github.com/stretchr/testify/assert
8286
go get github.com/stretchr/testify/require
8387
go get golang.org/x/oauth2
8488
```
85-
2. In the file [test/test_config.go](test/test_config.go) enter **Client ID** and **Client Secret**
89+
3. In the file [test/test_config.go](test/test_config.go) enter **Client ID** and **Client Secret**
8690
```go
8791
package asposeocrcloud
8892

@@ -91,15 +95,15 @@ var (
9195
ConfigClientSecret = "YOUR_CLIENT_SECRET"
9296
)
9397
```
94-
3. Open a new terminal and navigate to the aspose-ocr-cloud-go/test/ directory
98+
4. Open a new terminal and navigate to the aspose-ocr-cloud-go/test/ directory
9599
```shell
96100
cd <path_to_sdk>/aspose-ocr-cloud-go/test/
97101
```
98-
4. Run the tests with the command
102+
5. Run the tests with the command
99103
```
100104
go test github.com/aspose-ocr-cloud/aspose-ocr-cloud-go/test
101105
```
102-
5. Files with test results will appear in the aspose-ocr-cloud-go/results/ folder
106+
6. Files with test results will appear in the aspose-ocr-cloud-go/results/ folder
103107
104108
[Download demo as ZIP archive](https://github.com/aspose-ocr-cloud/aspose-ocr-cloud-go/archive/refs/heads/master.zip)
105109

0 commit comments

Comments
 (0)