Skip to content

Instantly share code, notes, and snippets.



Created Feb 19, 2014
What would you like to do?
Go Newlines in Tags
package main
type SomeSqlRelatedStruct struct {
SomeValue int `magicsql:"MyDatabaseIntField"`
SomeValueThatComesFromSql *string `magicsql:"(
SELECT 'some magic subselect'
FROM someothertable
WHERE MainId = MyDatabaseIntField
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.