Skip to content

Commit

Permalink
Updated README.md doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikas Mathur committed Jan 8, 2025
1 parent fa9b11e commit edbe0b7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ Please check https://github.com/ibmdb/go_ibm_db/blob/master/INSTALL.md for detai

- If you have a clidriver in your system, use below commands
```
Set IBM_DB_HOME to clidriver downloaded path and
set the environment variables
export IBM_DB_HOME=<clidriver path>/clidriver
export PATH=$PATH:$IBM_DB_HOME/bin
export CGO_CFLAGS=-I$IBM_DB_HOME/include
export CGO_LDFLAGS=-L$IBM_DB_HOME/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$IBM_DB_HOME/lib
export PATH=$PATH:$IBM_DB_HOME/bin
```


Expand Down Expand Up @@ -280,9 +282,11 @@ func main() {
}
```
To run the sample:-
```
go mod init example1
go mod tidy
go run example1.go
```
For complete list of connection parameters please check [this.](https://www.ibm.com/docs/en/db2/11.5?topic=file-data-server-driver-configuration-keywords)
Expand Down Expand Up @@ -390,9 +394,11 @@ func main() {
}
```
To run the sample:-
```
go mod init example2
go mod tidy
go run example2.go
```
### example3.go:-(POOLING)
Expand Down Expand Up @@ -435,9 +441,11 @@ func main() {
}
```
To run the sample:-
```
go mod init example3
go mod tidy
go run example3.go
```
### example4.go:-(POOLING- Limit on the number of connections)
Expand Down Expand Up @@ -496,9 +504,11 @@ func main() {
}
```
To run the sample:-
```
go mod init example4
go mod tidy
go run example4.go
```
For Running the Tests:
======================
Expand Down

0 comments on commit edbe0b7

Please sign in to comment.