Versions in this module Expand all Collapse all v1 v1.0.1 Nov 16, 2017 v1.0.0 Sep 27, 2017 Changes in this version + type FuncProvider struct + DB *sql.DB + TableName string + func NewProvider(endpoint *url.URL, tableName string) (*FuncProvider, error) + func (p *FuncProvider) GetMaxID() (uint64, error) + func (p *FuncProvider) InsertRecord(data *record.Person, id idgen.Generator, rnd *rand.Rand) bool + func (p *FuncProvider) ReadMostRecentRecord(_ *record.Person, _ idgen.Generator, _ *rand.Rand) bool + func (p *FuncProvider) ReadRange(_ *record.Person, _ idgen.Generator, _ *rand.Rand) bool + func (p *FuncProvider) ReadRecord(_ *record.Person, id idgen.Generator, _ *rand.Rand) bool + func (p *FuncProvider) UpdateRecord(_ *record.Person, id idgen.Generator, rnd *rand.Rand) bool