Goby provides a number of examples that are stored in either
goby/share/examples(built from source locally)
If your examples are in folders requiring root permissions (e.g.
/usr/local/share/) you may wish to copy the examples to your home folder first.
cp -r /usr/local/share/goby/examples ~/goby-examples
Then, to build these examples you will need Goby (obviously) and CMake. Go into the
examples directory and type
cmake . make
to compile the examples.
A listing and source code for these examples is provided as part of the developers' documentation at http://gobysoft.com/doc/2.0/examples.html