Skip to content

Commit 7889a21

Browse files
author
sandeep parmar
committed
change in README and rename get_nb_mappings
1 parent 8460615 commit 7889a21

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

snippets/go/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ Pre-requisites:
1414
Use the following commands to build and execute the sample program
1515
```sh
1616
$ cd netbackup
17-
$ # Build sample program
18-
$ go build example/sample.go
19-
$ # execute sample program
20-
$ ./sample
17+
$ # Build sample program for fetching server mappings
18+
$ go build example/get_nb_mapping.go
19+
$ ./get_nb_mapping
20+
21+
$ # Build sample program for fetching catalog images
22+
$ go build example/get_nb_images.go
23+
$ ./get_nb_images
24+
25+
$ # Build sample program for fetching backup jobs
26+
$ go build example/get_nb_jobs.go
27+
$ ./get_nb_jobs
2128
```
22-
To use in your own Go program just import the package and use it as shown in the sample.go

0 commit comments

Comments
 (0)