We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8460615 commit 7889a21Copy full SHA for 7889a21
2 files changed
snippets/go/README.md
@@ -14,9 +14,15 @@ Pre-requisites:
14
Use the following commands to build and execute the sample program
15
```sh
16
$ cd netbackup
17
-$ # Build sample program
18
-$ go build example/sample.go
19
-$ # execute sample program
20
-$ ./sample
+$ # Build sample program for fetching server mappings
+$ go build example/get_nb_mapping.go
+$ ./get_nb_mapping
+
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
28
```
-To use in your own Go program just import the package and use it as shown in the sample.go
snippets/go/example/get_nb_mapping.go snippets/go/example/get_nb_mappings.gosnippets/go/example/get_nb_mapping.go renamed to snippets/go/example/get_nb_mappings.go
0 commit comments