@@ -55,24 +55,28 @@ Aspose.OCR Cloud follows industry standards and best practices to keep your data
5555### Running demo
5656
57571 . 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
6165func 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
6973cd <path_to_sdk>/aspose-ocr-cloud-go /example/
7074` ` `
71- 4 . Run example
75+ 5 . Run example
7276` ` ` shell
7377go 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
7781Also, as a demo application, you can use the tests
78821. Clone our repository
@@ -82,7 +86,7 @@ go get github.com/stretchr/testify/assert
8286go get github.com /stretchr/testify/require
8387go 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
8791package 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
96100cd <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` ` `
100104go 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