File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ func main() {
44
44
),
45
45
)
46
46
47
- // Note: for byte response (Output Stream) use:
48
- // documentAsStream , getDocumentResponse, err := client.GetDocumentAsStream(
47
+ // Note: for response byte stream use:
48
+ // documentAsByteStream , getDocumentResponse, err := client.GetDocumentAsStream(
49
49
// client.NewGetDocumentOptions(
50
50
// exampleDbName,
51
51
// exampleDocID,
@@ -75,10 +75,10 @@ func main() {
75
75
exampleDbName ,
76
76
).SetDocument (document )
77
77
78
- // Note: for byte request (Input Stream) use:
78
+ // Note: for request byte stream use:
79
79
// postDocumentOption := client.NewPostDocumentOptions(
80
80
// exampleDbName,
81
- // ).SetBody(inputStream )
81
+ // ).SetBody(documentAsByteStream )
82
82
83
83
postDocumentResult , _ , err := client .PostDocument (
84
84
postDocumentOption ,
You can’t perform that action at this time.
0 commit comments