func (s *User) Table() reform.Table {
	return UserTable
}
Table returns Table object for that record.
package models
import (
	"fmt"
	"strings"
	"gopkg.in/reform.v1"
	"gopkg.in/reform.v1/parse"
)
type userTableType struct {
	s parse.StructInfo
	z []interface{}
}
func (v *userTableType) Schema() string {
	return v.s.SQLSchema
}
func (v *userTableType) Name() string {
	return v.s.SQLName
}
func (v *userTableType) Columns() []string {
	return []string{"id", "name", "source", "session_id", "session_data", "token", "ca_crt", "created_at", "updated_at"}
}
func (v *userTableType) NewStruct() reform.Struct {
	return new(User)
}
func (v *userTableType) NewRecord() reform.Record {
	return new(User)
}
func (v *userTableType) PKColumnIndex() uint {
	return uint(v.s.PKFieldIndex)
}
var UserTable = &userTableType{
	s: parse.StructInfo{Type: "User", SQLSchema: "", SQLName: "users", Fields: []parse.FieldInfo{{Name: "ID", Type: "int64", Column: "id"}, {Name: "Name", Type: "string", Column: "name"}, {Name: "Source", Type: "string", Column: "source"}, {Name: "SessionID", Type: "*string", Column: "session_id"}, {Name: "SessionData", Type: "*string", Column: "session_data"}, {Name: "Token", Type: "*string", Column: "token"}, {Name: "Cert", Type: "*string", Column: "ca_crt"}, {Name: "CreatedAt", Type: "time.Time", Column: "created_at"}, {Name: "UpdatedAt", Type: "time.Time", Column: "updated_at"}}, PKFieldIndex: 0},
	z: new(User).Values(),
}
func (s User) String() string {
	res := make([]string, 9)
	res[0] = "ID: " + reform.Inspect(s.ID, true)
	res[1] = "Name: " + reform.Inspect(s.Name, true)
	res[2] = "Source: " + reform.Inspect(s.Source, true)
	res[3] = "SessionID: " + reform.Inspect(s.SessionID, true)
	res[4] = "SessionData: " + reform.Inspect(s.SessionData, true)
	res[5] = "Token: " + reform.Inspect(s.Token, true)
	res[6] = "Cert: " + reform.Inspect(s.Cert, true)
	res[7] = "CreatedAt: " + reform.Inspect(s.CreatedAt, true)
	res[8] = "UpdatedAt: " + reform.Inspect(s.UpdatedAt, true)
	return strings.Join(res, ", ")
}
func (s *User) Values() []interface{} {
	return []interface{}{
		s.ID,
		s.Name,
		s.Source,
		s.SessionID,
		s.SessionData,
		s.Token,
		s.Cert,
		s.CreatedAt,
		s.UpdatedAt,
	}
}
func (s *User) Pointers() []interface{} {
	return []interface{}{
		&s.ID,
		&s.Name,
		&s.Source,
		&s.SessionID,
		&s.SessionData,
		&s.Token,
		&s.Cert,
		&s.CreatedAt,
		&s.UpdatedAt,
	}
}
func (s *User) View() reform.View {
	return UserTable
}