News for hackers. Stuff that matters.
Re:Hood: A transactional, database-agnostic ORM for Go by eaigner on Sunday December 16, 2012 @07:12AM (#4928133)
That's a valid issue, definitely want to conform with Go standards and don't break anything. Like the "sql:" proposal very much, will change it to that!
Re:Hood: A transactional, database-agnostic ORM for Go by jspthrowaway2 on Sunday December 16, 2012 @07:14AM (#4928135)
I thought about it after commenting and was trying to think of a loose vocabulary you could introduce for "sql" to be interoperable among as-yet unwritten libraries, as jedsmith says on Github, and that's a pretty tough nut to crack. Letting it evolve over time is probably the right choice, so will be interesting to see how your choices impact the SQL landscape down the road.
Re:Hood: A transactional, database-agnostic ORM for Go by eaigner on Sunday December 16, 2012 @07:54AM (#4928194)
Re:Hood: A transactional, database-agnostic ORM for Go by eaigner on Sunday December 16, 2012 @07:21AM (#4928149)
Matching the json-tag style will probably be the best bet (using commas, e.g. `sql:"size(128),default('abc')"`)