> I'll release it once I'm a little more confident in the interface.
Release it now! I've said the same thing in the past about some code I was working on. Add a little readme, explicitly say it is a work in progress, and get it out there. At the very least the rush of publicizing something will push your drive to work on this codebase, and you might even gain some contributors. I'd rather use a repo that is obviously a work in progress but has active contributions from the creator over some more 'complete' but stagnant repo any day.
Don't worry, I'm not shooting for anything like perfection. I released another library that this builds on just last week: https://github.com/lann/builder
Just released (MIT license); have at it.
Honest question... how is this different from, say:
rows, err := db.execute("SELECT col FROM tab WHERE x = ?", 1);
Primarily because you can reuse partial queries and add conditional where clauses more easily.
There are other features I haven't shown here as well, like building an IN expression with placeholders from a slice.
I'm working on an arel-esque fluent SQL generator now: https://github.com/lann/squirrel
I'll release it once I'm a little more confident in the interface. Currently you can do things like this: