A simple example of a transaction block parser lives in examples.
There is a sqlite db in there with a simple block and tx table schema.
....Enjoy!
A lightweight Bitcoin server written in go that has configurable hooks for handling transactions and blocks as they come off the wire.
Go