doc: add example to source
doc: add links to source and godoc reference