Versions in this module Expand all Collapse all v1 v1.10.4 Dec 21, 2018 Changes in this version + func RandStringWord() string + func Start(enableSeed bool, enabledRepos string, items int) + type ArangoDBRepo struct + func (repo *ArangoDBRepo) Init() bool + func (repo *ArangoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ArangoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ArangoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *ArangoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *ArangoDBRepo) Seed(itemsInDataSet int) bool + func (repo *ArangoDBRepo) Update(N int) + type ClickHouseRepo struct + func (repo *ClickHouseRepo) Init() bool + func (repo *ClickHouseRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ClickHouseRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ClickHouseRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *ClickHouseRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *ClickHouseRepo) Seed(itemsInDataSet int) bool + func (repo *ClickHouseRepo) Update(N int) + type DummyRepo struct + func (repo *DummyRepo) Init() bool + func (repo *DummyRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *DummyRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *DummyRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *DummyRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *DummyRepo) Seed(itemsInDataSet int) bool + func (repo *DummyRepo) Update(N int) + type ElasticRepo struct + func (repo *ElasticRepo) Init() bool + func (repo *ElasticRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ElasticRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ElasticRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *ElasticRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *ElasticRepo) Seed(itemsInDataSet int) bool + func (repo *ElasticRepo) Update(N int) + type Item struct + Description string + ID int64 + Name string + Year int + type MongoDBRepo struct + func (repo *MongoDBRepo) Init() bool + func (repo *MongoDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *MongoDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *MongoDBRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *MongoDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *MongoDBRepo) Seed(itemsInDataSet int) bool + func (repo *MongoDBRepo) Update(N int) + type MySQLRepo struct + func (repo *MySQLRepo) Init() bool + func (repo *MySQLRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *MySQLRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *MySQLRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *MySQLRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *MySQLRepo) Seed(itemsInDataSet int) bool + func (repo *MySQLRepo) Update(N int) + type RedisRepo struct + func (repo *RedisRepo) Init() bool + func (repo *RedisRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *RedisRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *RedisRepo) QueryByID(N int, onlyQuery bool) (item *Item) + func (repo *RedisRepo) QueryFullText(textQuery func() string, N int, limit int) []*Item + func (repo *RedisRepo) Seed(itemsInDataSet int) bool + func (repo *RedisRepo) Update(N int) + type ReindexRepo struct + func (repo *ReindexRepo) ForceObjCache() + func (repo *ReindexRepo) Init() bool + func (repo *ReindexRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ReindexRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *ReindexRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *ReindexRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *ReindexRepo) Seed(itemsInDataSet int) bool + func (repo *ReindexRepo) Update(N int) + type Repo interface + Init func() bool + Query1Cond func(N int, onlyQuery bool, limit int) []*Item + Query2Cond func(N int, onlyQuery bool, limit int) []*Item + QueryByID func(N int, onlyQuery bool) *Item + QueryFullText func(textQuery func() string, N int, limit int) []*Item + Seed func(itemInDataSet int) bool + Update func(N int) + func Get(name string) Repo + type RethinkDBRepo struct + func (repo *RethinkDBRepo) Init() bool + func (repo *RethinkDBRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *RethinkDBRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *RethinkDBRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *RethinkDBRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *RethinkDBRepo) Seed(itemsInDataSet int) bool + func (repo *RethinkDBRepo) Update(N int) + type SphinxRepo struct + func (repo *SphinxRepo) Init() bool + func (repo *SphinxRepo) Query1Cond(N int, onlyQuery bool, limit int) []*Item + func (repo *SphinxRepo) Query2Cond(N int, onlyQuery bool, limit int) []*Item + func (repo *SphinxRepo) QueryByID(N int, onlyQuery bool) *Item + func (repo *SphinxRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *SphinxRepo) Seed(itemsInDataSet int) bool + func (repo *SphinxRepo) Update(N int) + type SqliteRepo struct + func (repo *SqliteRepo) Init() bool + func (repo *SqliteRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *SqliteRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *SqliteRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *SqliteRepo) QueryFullText(textQuery func() string, N int, limit int) (ret []*Item) + func (repo *SqliteRepo) Seed(itemsInDataSet int) bool + func (repo *SqliteRepo) Update(N int) + type TarantoolRepo struct + func (repo *TarantoolRepo) Init() bool + func (repo *TarantoolRepo) Query1Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *TarantoolRepo) Query2Cond(N int, onlyQuery bool, limit int) (ret []*Item) + func (repo *TarantoolRepo) QueryByID(N int, onlyQuery bool) (it *Item) + func (repo *TarantoolRepo) QueryFullText(textQuery func() string, N int, limit int) []*Item + func (repo *TarantoolRepo) Seed(itemsInDataSet int) bool + func (repo *TarantoolRepo) Update(N int) + type TestLogger struct + func (TestLogger) Printf(level int, format string, msg ...interface{}) Incompatible versions in this module v2.9.0+incompatible May 15, 2020