Skip to content

Commit

Permalink
Adjust the directory structure (#234)
Browse files Browse the repository at this point in the history
* Adjust the directory structure

* fix: fix makefile run-examples

Co-authored-by: Yichen Wang <[email protected]>
  • Loading branch information
LooJee and Aiee authored Nov 23, 2022
1 parent d6def98 commit 4eba6a2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ ssl-test-self-signed:
self_signed=true go test -v --tags=integration -run TestSslConnection;

run-examples:
go run basic_example/graph_client_basic_example.go && \
go run basic_example/parameter_example.go && \
go run gorountines_example/graph_client_goroutines_example.go && \
go run json_example/parse_json_example.go && \
go run session_pool_example/session_pool_example.go
go run examples/basic_example/graph_client_basic_example.go && \
go run examples/parameter_example/parameter_example.go && \
go run examples/gorountines_example/graph_client_goroutines_example.go && \
go run examples/json_example/parse_json_example.go && \
go run examples/session_pool_example/session_pool_example.go
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ For example:
## Usage example
[Simple Code Example](https://github.com/vesoft-inc/nebula-go/tree/master/basic_example/graph_client_basic_example.go)
[Simple Code Example](https://github.com/vesoft-inc/nebula-go/tree/master/examples/basic_example/graph_client_basic_example.go)
[Code Example with Gorountines](https://github.com/vesoft-inc/nebula-go/tree/master/gorountines_example/graph_client_goroutines_example.go)
[Code Example with Gorountines](https://github.com/vesoft-inc/nebula-go/tree/master/examples/gorountines_example/graph_client_goroutines_example.go)
[Session Pool Example](https://github.com/vesoft-inc/nebula-go/blob/master/session_pool_example/session_pool_example.go)
[Session Pool Example](https://github.com/vesoft-inc/nebula-go/blob/master/examples/session_pool_example/session_pool_example.go)
There are some limitations while using the session pool:
1. There MUST be an existing space in the DB before initializing the session pool.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4eba6a2

Please sign in to comment.