diff --git a/go.mod b/go.mod index ca8fde6..5204a50 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.kmsign.com/royalcat/repogen +module git.kmsign.ru/royalcat/repogen go 1.19 diff --git a/internal/code/errors_test.go b/internal/code/errors_test.go index 0bd3d4d..19cb94a 100644 --- a/internal/code/errors_test.go +++ b/internal/code/errors_test.go @@ -3,7 +3,7 @@ package code_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) type ErrorTestCase struct { diff --git a/internal/code/extractor_test.go b/internal/code/extractor_test.go index d42a4b1..d1bb3be 100644 --- a/internal/code/extractor_test.go +++ b/internal/code/extractor_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) type TestCase struct { diff --git a/internal/code/models_test.go b/internal/code/models_test.go index 7fc3c01..2d2d78f 100644 --- a/internal/code/models_test.go +++ b/internal/code/models_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) func TestStructFieldsByName(t *testing.T) { diff --git a/internal/code/package_test.go b/internal/code/package_test.go index 3ade4a9..839c50a 100644 --- a/internal/code/package_test.go +++ b/internal/code/package_test.go @@ -7,7 +7,7 @@ import ( "go/token" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) const goImplFile1Data = ` diff --git a/internal/codegen/base.go b/internal/codegen/base.go index c6784f7..8cada6f 100644 --- a/internal/codegen/base.go +++ b/internal/codegen/base.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) const baseTemplate = `// Code generated by {{.Program}}. DO NOT EDIT. diff --git a/internal/codegen/body.go b/internal/codegen/body.go index 7c6ef01..e2a3437 100644 --- a/internal/codegen/body.go +++ b/internal/codegen/body.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) type FunctionBody []Statement diff --git a/internal/codegen/body_test.go b/internal/codegen/body_test.go index 8cb0321..38d0a9d 100644 --- a/internal/codegen/body_test.go +++ b/internal/codegen/body_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" ) func TestIdentifier(t *testing.T) { diff --git a/internal/codegen/builder.go b/internal/codegen/builder.go index a90c828..b3eee77 100644 --- a/internal/codegen/builder.go +++ b/internal/codegen/builder.go @@ -4,7 +4,7 @@ import ( "bytes" "text/template" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" "golang.org/x/tools/imports" ) diff --git a/internal/codegen/builder_test.go b/internal/codegen/builder_test.go index 5fc6cab..0ad213c 100644 --- a/internal/codegen/builder_test.go +++ b/internal/codegen/builder_test.go @@ -3,9 +3,9 @@ package codegen_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) const expectedBuildCode = `// Code generated by repogen. DO NOT EDIT. diff --git a/internal/codegen/function.go b/internal/codegen/function.go index 8b583a1..14c8f47 100644 --- a/internal/codegen/function.go +++ b/internal/codegen/function.go @@ -6,7 +6,7 @@ import ( "strings" "text/template" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) const functionTemplate = ` diff --git a/internal/codegen/function_test.go b/internal/codegen/function_test.go index 0a3ef92..0bbdffc 100644 --- a/internal/codegen/function_test.go +++ b/internal/codegen/function_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestFunctionBuilderBuild_NoReturn(t *testing.T) { diff --git a/internal/codegen/method.go b/internal/codegen/method.go index 0f02937..63a9298 100644 --- a/internal/codegen/method.go +++ b/internal/codegen/method.go @@ -5,7 +5,7 @@ import ( "fmt" "text/template" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) const methodTemplate = ` diff --git a/internal/codegen/method_test.go b/internal/codegen/method_test.go index 00933a1..a138058 100644 --- a/internal/codegen/method_test.go +++ b/internal/codegen/method_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestMethodBuilderBuild_IgnoreReceiverNoReturn(t *testing.T) { diff --git a/internal/codegen/struct.go b/internal/codegen/struct.go index 5defeea..5795c6a 100644 --- a/internal/codegen/struct.go +++ b/internal/codegen/struct.go @@ -6,7 +6,7 @@ import ( "strings" "text/template" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) const structTemplate = ` diff --git a/internal/codegen/struct_test.go b/internal/codegen/struct_test.go index 82cac6c..31795a5 100644 --- a/internal/codegen/struct_test.go +++ b/internal/codegen/struct_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) const expectedStructBuilderCode = ` diff --git a/internal/generator/generator.go b/internal/generator/generator.go index dc7d34a..b2bb2c5 100644 --- a/internal/generator/generator.go +++ b/internal/generator/generator.go @@ -1,10 +1,10 @@ package generator import ( - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) // GenerateRepository generates repository implementation code from repository diff --git a/internal/generator/generator_test.go b/internal/generator/generator_test.go index 4bf4e2b..539180f 100644 --- a/internal/generator/generator_test.go +++ b/internal/generator/generator_test.go @@ -4,10 +4,10 @@ import ( "os" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/generator" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/generator" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) var ( diff --git a/internal/mongo/common.go b/internal/mongo/common.go index 330ed78..b9c9363 100644 --- a/internal/mongo/common.go +++ b/internal/mongo/common.go @@ -3,9 +3,9 @@ package mongo import ( "strings" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) var errOccurred = codegen.RawStatement("err != nil") diff --git a/internal/mongo/count.go b/internal/mongo/count.go index a0a78a7..2e227fc 100644 --- a/internal/mongo/count.go +++ b/internal/mongo/count.go @@ -1,8 +1,8 @@ package mongo import ( - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateCountBody( diff --git a/internal/mongo/count_test.go b/internal/mongo/count_test.go index 8089949..5ce8a5b 100644 --- a/internal/mongo/count_test.go +++ b/internal/mongo/count_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestGenerateMethod_Count(t *testing.T) { diff --git a/internal/mongo/delete.go b/internal/mongo/delete.go index fe8ba18..6d44b00 100644 --- a/internal/mongo/delete.go +++ b/internal/mongo/delete.go @@ -1,8 +1,8 @@ package mongo import ( - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateDeleteBody( diff --git a/internal/mongo/delete_test.go b/internal/mongo/delete_test.go index 095613f..e9198f6 100644 --- a/internal/mongo/delete_test.go +++ b/internal/mongo/delete_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestGenerateMethod_Delete(t *testing.T) { diff --git a/internal/mongo/errors.go b/internal/mongo/errors.go index c9afcea..e4476fa 100644 --- a/internal/mongo/errors.go +++ b/internal/mongo/errors.go @@ -3,7 +3,7 @@ package mongo import ( "fmt" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) // NewOperationNotSupportedError creates operationNotSupportedError diff --git a/internal/mongo/errors_test.go b/internal/mongo/errors_test.go index 17bedfa..5884a3b 100644 --- a/internal/mongo/errors_test.go +++ b/internal/mongo/errors_test.go @@ -3,8 +3,8 @@ package mongo_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) type ErrorTestCase struct { diff --git a/internal/mongo/find.go b/internal/mongo/find.go index ef30f81..06df7b4 100644 --- a/internal/mongo/find.go +++ b/internal/mongo/find.go @@ -3,9 +3,9 @@ package mongo import ( "strconv" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateFindBody( diff --git a/internal/mongo/find_test.go b/internal/mongo/find_test.go index c3095cb..c62a377 100644 --- a/internal/mongo/find_test.go +++ b/internal/mongo/find_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestGenerateMethod_Find(t *testing.T) { diff --git a/internal/mongo/generator.go b/internal/mongo/generator.go index ebe7a40..ac00f1d 100644 --- a/internal/mongo/generator.go +++ b/internal/mongo/generator.go @@ -3,9 +3,9 @@ package mongo import ( "fmt" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) // NewGenerator creates a new instance of MongoDB repository generator diff --git a/internal/mongo/generator_test.go b/internal/mongo/generator_test.go index 80deedd..60f68b2 100644 --- a/internal/mongo/generator_test.go +++ b/internal/mongo/generator_test.go @@ -5,10 +5,10 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) var ( diff --git a/internal/mongo/insert.go b/internal/mongo/insert.go index bed5054..9607d84 100644 --- a/internal/mongo/insert.go +++ b/internal/mongo/insert.go @@ -1,9 +1,9 @@ package mongo import ( - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateInsertBody( diff --git a/internal/mongo/insert_test.go b/internal/mongo/insert_test.go index c7a077a..68dd85d 100644 --- a/internal/mongo/insert_test.go +++ b/internal/mongo/insert_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestGenerateMethod_Insert(t *testing.T) { diff --git a/internal/mongo/models.go b/internal/mongo/models.go index 8b9017f..df6a56b 100644 --- a/internal/mongo/models.go +++ b/internal/mongo/models.go @@ -4,9 +4,9 @@ import ( "fmt" "sort" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) type updateField struct { diff --git a/internal/mongo/update.go b/internal/mongo/update.go index 49b3f89..45f0e53 100644 --- a/internal/mongo/update.go +++ b/internal/mongo/update.go @@ -1,8 +1,8 @@ package mongo import ( - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateUpdateBody( diff --git a/internal/mongo/update_test.go b/internal/mongo/update_test.go index 01a7e64..54c4660 100644 --- a/internal/mongo/update_test.go +++ b/internal/mongo/update_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/codegen" - "git.kmsign.com/royalcat/repogen/internal/mongo" - "git.kmsign.com/royalcat/repogen/internal/spec" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/codegen" + "git.kmsign.ru/royalcat/repogen/internal/mongo" + "git.kmsign.ru/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestGenerateMethod_Update(t *testing.T) { diff --git a/internal/spec/errors.go b/internal/spec/errors.go index 0c114f7..e109aca 100644 --- a/internal/spec/errors.go +++ b/internal/spec/errors.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) // parsing error constants diff --git a/internal/spec/errors_test.go b/internal/spec/errors_test.go index 3a5778d..cc15dc9 100644 --- a/internal/spec/errors_test.go +++ b/internal/spec/errors_test.go @@ -3,8 +3,8 @@ package spec_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) type ErrorTestCase struct { diff --git a/internal/spec/field.go b/internal/spec/field.go index fd6d4d1..91f5bf1 100644 --- a/internal/spec/field.go +++ b/internal/spec/field.go @@ -3,7 +3,7 @@ package spec import ( "strings" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) // FieldReference is a reference path to access to the field diff --git a/internal/spec/models.go b/internal/spec/models.go index f364be7..f34cf8a 100644 --- a/internal/spec/models.go +++ b/internal/spec/models.go @@ -1,7 +1,7 @@ package spec import ( - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) // QueryMode one or many diff --git a/internal/spec/models_test.go b/internal/spec/models_test.go index bd4cd4d..58b9b40 100644 --- a/internal/spec/models_test.go +++ b/internal/spec/models_test.go @@ -3,7 +3,7 @@ package spec_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) type OperationTestCase struct { diff --git a/internal/spec/parser.go b/internal/spec/parser.go index a5c13ea..fcb287a 100644 --- a/internal/spec/parser.go +++ b/internal/spec/parser.go @@ -3,7 +3,7 @@ package spec import ( "strconv" - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" "github.com/fatih/camelcase" ) diff --git a/internal/spec/parser_test.go b/internal/spec/parser_test.go index c293e98..ed9a984 100644 --- a/internal/spec/parser_test.go +++ b/internal/spec/parser_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) var ( diff --git a/internal/spec/query.go b/internal/spec/query.go index 344cc47..2edd719 100644 --- a/internal/spec/query.go +++ b/internal/spec/query.go @@ -1,7 +1,7 @@ package spec import ( - "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/code" ) // QuerySpec is a set of conditions of querying the database diff --git a/internal/spec/update.go b/internal/spec/update.go index 392d1f1..cbb5f7f 100644 --- a/internal/spec/update.go +++ b/internal/spec/update.go @@ -1,6 +1,6 @@ package spec -import "git.kmsign.com/royalcat/repogen/internal/code" +import "git.kmsign.ru/royalcat/repogen/internal/code" // UpdateOperation is a method specification for update operations type UpdateOperation struct { diff --git a/internal/spec/update_test.go b/internal/spec/update_test.go index 56c9090..a1396ef 100644 --- a/internal/spec/update_test.go +++ b/internal/spec/update_test.go @@ -3,7 +3,7 @@ package spec_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) type UpdateTypeTestCase struct { diff --git a/internal/testutils/multilines_test.go b/internal/testutils/multilines_test.go index dc54482..73a80f4 100644 --- a/internal/testutils/multilines_test.go +++ b/internal/testutils/multilines_test.go @@ -3,7 +3,7 @@ package testutils_test import ( "testing" - "git.kmsign.com/royalcat/repogen/internal/testutils" + "git.kmsign.ru/royalcat/repogen/internal/testutils" ) func TestExpectMultiLineString(t *testing.T) { diff --git a/main.go b/main.go index 895e60f..c32378c 100644 --- a/main.go +++ b/main.go @@ -10,14 +10,14 @@ import ( "os" "path/filepath" - "git.kmsign.com/royalcat/repogen/internal/code" - "git.kmsign.com/royalcat/repogen/internal/generator" - "git.kmsign.com/royalcat/repogen/internal/spec" + "git.kmsign.ru/royalcat/repogen/internal/code" + "git.kmsign.ru/royalcat/repogen/internal/generator" + "git.kmsign.ru/royalcat/repogen/internal/spec" ) const usageText = `repogen generates MongoDB repository implementation from repository interface - Find more information at: https://git.kmsign.com/royalcat/repogen + Find more information at: https://git.kmsign.ru/royalcat/repogen Supported options:`