There is a table api in qb much like yours. See <a href="https:&#x2F;&#x2F;github.com&#x2F;aacanakin&#x2F;qb&#x2F;blob&#x2F;master&#x2F;table_test.go" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aacanakin&#x2F;qb&#x2F;blob&#x2F;master&#x2F;table_test.go</a>. The session api converts tags into table object. I really like the  column definitions. Maybe I can convert the definition implementation like you.