diff --git a/README.md b/README.md index 6d010b2..5bbbbda 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ package main import ( "log" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) func main() { diff --git a/debug_app.go b/debug_app.go index 160e77e..7ba2996 100644 --- a/debug_app.go +++ b/debug_app.go @@ -5,7 +5,7 @@ import ( "os" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) func main() { diff --git a/examples/basic/main.go b/examples/basic/main.go index ac5b888..c6561ae 100644 --- a/examples/basic/main.go +++ b/examples/basic/main.go @@ -5,7 +5,7 @@ import ( "log" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) type User struct { diff --git a/examples/custom-json/custom_json_test.go b/examples/custom-json/custom_json_test.go index c9ccbf0..84d3c98 100644 --- a/examples/custom-json/custom_json_test.go +++ b/examples/custom-json/custom_json_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) func TestCustomJSONSerialization(t *testing.T) { diff --git a/examples/custom-json/main.go b/examples/custom-json/main.go index 1251f80..1c9a938 100644 --- a/examples/custom-json/main.go +++ b/examples/custom-json/main.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // User представляет пользователя diff --git a/examples/custom-serializer/main.go b/examples/custom-serializer/main.go index 4ba92b8..9a55bb4 100644 --- a/examples/custom-serializer/main.go +++ b/examples/custom-serializer/main.go @@ -7,7 +7,7 @@ import ( "os" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // Item — структура для вставки (LineDB поддерживает struct и map) diff --git a/examples/delete/delete.go b/examples/delete/delete.go index 39c6c69..c6d66aa 100644 --- a/examples/delete/delete.go +++ b/examples/delete/delete.go @@ -5,7 +5,7 @@ import ( "log" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) // testDeleteOneRecordByID тестирует удаление одной записи по ID diff --git a/examples/encode/main.go b/examples/encode/main.go index ba704fa..8c1611b 100644 --- a/examples/encode/main.go +++ b/examples/encode/main.go @@ -7,7 +7,7 @@ import ( "os" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) func main() { diff --git a/examples/insert/insert.go b/examples/insert/insert.go index cc9443c..a15a49b 100644 --- a/examples/insert/insert.go +++ b/examples/insert/insert.go @@ -5,7 +5,7 @@ import ( "log" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // testSingleInsert тестирует вставку одной записи diff --git a/examples/integration/main.go b/examples/integration/main.go index 43cad84..80195ba 100644 --- a/examples/integration/main.go +++ b/examples/integration/main.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // User представляет пользователя diff --git a/examples/partitions/main.go b/examples/partitions/main.go index a3832fe..89b5489 100644 --- a/examples/partitions/main.go +++ b/examples/partitions/main.go @@ -7,7 +7,7 @@ import ( "path/filepath" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // Пример работы с партициями + индексируемой коллекцией. diff --git a/examples/perf/main.go b/examples/perf/main.go index b49fb67..7ad3fa6 100644 --- a/examples/perf/main.go +++ b/examples/perf/main.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) const ( diff --git a/examples/test-alloc-overflow/main.go b/examples/test-alloc-overflow/main.go index 9cea5fa..b964163 100644 --- a/examples/test-alloc-overflow/main.go +++ b/examples/test-alloc-overflow/main.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go" ) func main() { diff --git a/examples/test-init-normalize/main.go b/examples/test-init-normalize/main.go index 5052f21..df21075 100644 --- a/examples/test-init-normalize/main.go +++ b/examples/test-init-normalize/main.go @@ -9,7 +9,7 @@ import ( "os" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) func main() { diff --git a/tests/linedb_index_test.go b/tests/linedb_index_test.go index 44c7fa2..ee3915e 100644 --- a/tests/linedb_index_test.go +++ b/tests/linedb_index_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // mockMemcached — in-memory реализация MemcachedClient для тестов. @@ -111,7 +111,7 @@ func TestIndexEncodedCollectionCache(t *testing.T) { } initOptions := &linedb.LineDbInitOptions{ CacheSize: 100, - CacheTTL: time.Minute*10, + CacheTTL: time.Minute * 10, DBFolder: "./data/test-linedb-index-enc", Collections: []linedb.JSONLFileOptions{ { diff --git a/tests/linedb_point_update_test.go b/tests/linedb_point_update_test.go index c40bc87..0d80297 100644 --- a/tests/linedb_point_update_test.go +++ b/tests/linedb_point_update_test.go @@ -4,11 +4,10 @@ package tests import ( + "linedb/pkg/linedb" "os" "testing" "time" - - "linedb/pkg/linedb" ) func setupPointUpdateDB(t *testing.T) (*linedb.LineDb, func()) { diff --git a/tests/linedb_test.go b/tests/linedb_test.go index bcb081a..97034b9 100644 --- a/tests/linedb_test.go +++ b/tests/linedb_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) func TestLineDbBasic(t *testing.T) { diff --git a/tests/nonpartitioned/collection_test.go b/tests/nonpartitioned/collection_test.go index f494386..5fecca8 100644 --- a/tests/nonpartitioned/collection_test.go +++ b/tests/nonpartitioned/collection_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) const dbDir = "./data/nonpartitioned" diff --git a/tests/nonpartitioned/index_fail_test.go b/tests/nonpartitioned/index_fail_test.go index ce29709..49d0a88 100644 --- a/tests/nonpartitioned/index_fail_test.go +++ b/tests/nonpartitioned/index_fail_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) // failingLookupStore — IndexStore, у которого Lookup всегда возвращает ошибку (для проверки FailOnFailureIndexRead). diff --git a/tests/partitioned/collection_test.go b/tests/partitioned/collection_test.go index c2160e0..9324343 100644 --- a/tests/partitioned/collection_test.go +++ b/tests/partitioned/collection_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "linedb/pkg/linedb" + "direct-dev.ru/gitea/GiteaAdmin/elowdb-go/pkg/linedb" ) const dbDir = "./data/partitioned"