This is something I've done for a few years already.
As mentioned in the flowbase README, I blogged about this in two posts in beginning and end of 2015:
... and finally created a library of it in mid 2016:
https://github.com/flowbase/flowbase... which I successfully used to build a Go based tool to convert from RDF to Semantic MediaWiki markup:
https://github.com/rdfio/rdf2smw(See these lines for the connection setup:
https://github.com/rdfio/rdf2smw/blob/1e3161/main.go#L114-L139 )
Not sure if the post author was aware of it :)
Anyways, it is an approach I'm a heavy fan of.
I'm hoping to extend FlowBase with more FBP best practices as we go, but I like the approach to start with the basics and see to what extent we can just leverage the existing primitives in Go, to keep maintenance burden at a minimum (which is my main worry keeping me from jumping on complex frameworks without major communities or organizations backing it).