code: func (m *DbMap) TableForType(t reflect.Type) *TableMap {
  	for _, table := range m.tables {
  		if table.gotype == t {
  			return table
  		}
  	}
  	return nil
  }
docs: // FIXME: returning a nil pointer is not go-like;  return (*TableMap, err) instead.
  // TableForType returns any matching tables for the type t or nil if not found.