Skip to content

Commit f8e85d0

Browse files
committed
fix embedmd markdown
1 parent 65f3c1c commit f8e85d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func Example() {
7070

7171
Setting up a basic connection with RethinkDB is simple:
7272

73-
[embedmd]:# (example_connect_test.go go /func ExampleConnect\(\) {/ /(?m)^}/)
73+
[embedmd]:# (example_connect_test.go go /func ExampleConnect\(\) {/ /^}/)
7474
```go
7575
func ExampleConnect() {
7676
var err error
@@ -92,7 +92,7 @@ The driver uses a connection pool at all times, by default it creates and frees
9292

9393
To configure the connection pool `InitialCap`, `MaxOpen` and `Timeout` can be specified during connection. If you wish to change the value of `InitialCap` or `MaxOpen` during runtime then the functions `SetInitialPoolCap` and `SetMaxOpenConns` can be used.
9494

95-
[embedmd]:# (example_connect_test.go go /func ExampleConnect_connectionPool\(\) {/ /(?m)^}/)
95+
[embedmd]:# (example_connect_test.go go /func ExampleConnect_connectionPool\(\) {/ /^}/)
9696
```go
9797
func ExampleConnect_connectionPool() {
9898
var err error
@@ -112,7 +112,7 @@ func ExampleConnect_connectionPool() {
112112

113113
To connect to a RethinkDB cluster which has multiple nodes you can use the following syntax. When connecting to a cluster with multiple nodes queries will be distributed between these nodes.
114114

115-
[embedmd]:# (example_connect_test.go go /func ExampleConnect_cluster\(\) {/ /(?m)^}/)
115+
[embedmd]:# (example_connect_test.go go /func ExampleConnect_cluster\(\) {/ /^}/)
116116
```go
117117
func ExampleConnect_cluster() {
118118
var err error

0 commit comments

Comments
 (0)