Added yaml-based example.
Ran go fmt.