Skip to content

Commit 9aaa1a9

Browse files
rekbyasmyasnikovblinkovanton-bobkov
authored
basic example query service (#13477)
Co-authored-by: Aleksey Myasnikov <[email protected]> Co-authored-by: Ivan Blinkov <[email protected]> Co-authored-by: anton-bobkov <[email protected]>
1 parent 7959b23 commit 9aaa1a9

File tree

6 files changed

+347
-380
lines changed

6 files changed

+347
-380
lines changed

ydb/docs/en/core/dev/example-app/go/_includes/run_custom.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ If authentication is enabled for the database, the [authentication mode](../../.
55
Run the command as follows:
66

77
```bash
8-
( export <auth_mode_var>="<auth_mode_value>" && cd ydb-go-examples && \
8+
( export <auth_mode_var>="<auth_mode_value>" && cd ydb-go-sdk/examples && \
99
go run ./basic -ydb="<endpoint>?database=<database>" )
1010
```
1111

@@ -19,6 +19,6 @@ where
1919
For example:
2020

2121
```bash
22-
( export YDB_ACCESS_TOKEN_CREDENTIALS="t1.9euelZqOnJuJlc..." && cd ydb-go-examples && \
23-
go run ./basic -ydb="grpcs://ydb.example.com:2135?database=/somepath/somelocation" )
22+
( export YDB_ACCESS_TOKEN_CREDENTIALS="t1.9euelZqOnJuJlc..." && cd ydb-go-sdk/examples && \
23+
go run ./basic -ydb="grpcs://ydb.example.com:2135/somepath/somelocation" )
2424
```
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
To connect to a locally deployed {{ ydb-short-name }} database according to the [Docker](../../../../quickstart.md) use case, run the following command in the default configuration:
22

3-
```bash
4-
( export YDB_ANONYMOUS_CREDENTIALS=1 && cd ydb-go-examples && \
5-
go run ./basic -ydb="grpc://localhost:2136?database=/local" )
3+
``` bash
4+
( export YDB_ANONYMOUS_CREDENTIALS=1 && cd ydb-go-sdk/examples && \
5+
go run ./basic/native/query -ydb="grpc://localhost:2136/local" )
66
```
77

0 commit comments

Comments
 (0)