diff --git a/go.mod b/go.mod index 2d07595..ca8fde6 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/sunboyy/repogen +module git.kmsign.com/royalcat/repogen go 1.19 diff --git a/internal/code/errors_test.go b/internal/code/errors_test.go index 3446807..0bd3d4d 100644 --- a/internal/code/errors_test.go +++ b/internal/code/errors_test.go @@ -3,7 +3,7 @@ package code_test import ( "testing" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) type ErrorTestCase struct { diff --git a/internal/code/extractor_test.go b/internal/code/extractor_test.go index 6e03c3b..d42a4b1 100644 --- a/internal/code/extractor_test.go +++ b/internal/code/extractor_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) type TestCase struct { diff --git a/internal/code/models_test.go b/internal/code/models_test.go index b64a337..7fc3c01 100644 --- a/internal/code/models_test.go +++ b/internal/code/models_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) func TestStructFieldsByName(t *testing.T) { diff --git a/internal/code/package_test.go b/internal/code/package_test.go index fd0527b..3ade4a9 100644 --- a/internal/code/package_test.go +++ b/internal/code/package_test.go @@ -7,7 +7,7 @@ import ( "go/token" "testing" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) const goImplFile1Data = ` diff --git a/internal/codegen/base.go b/internal/codegen/base.go index 5508dc7..c6784f7 100644 --- a/internal/codegen/base.go +++ b/internal/codegen/base.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/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 e6ba09e..7c6ef01 100644 --- a/internal/codegen/body.go +++ b/internal/codegen/body.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) type FunctionBody []Statement diff --git a/internal/codegen/body_test.go b/internal/codegen/body_test.go index be0c32f..8cb0321 100644 --- a/internal/codegen/body_test.go +++ b/internal/codegen/body_test.go @@ -4,8 +4,8 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" ) func TestIdentifier(t *testing.T) { diff --git a/internal/codegen/builder.go b/internal/codegen/builder.go index a080921..a90c828 100644 --- a/internal/codegen/builder.go +++ b/internal/codegen/builder.go @@ -4,7 +4,7 @@ import ( "bytes" "text/template" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" "golang.org/x/tools/imports" ) diff --git a/internal/codegen/builder_test.go b/internal/codegen/builder_test.go index 84c0849..5fc6cab 100644 --- a/internal/codegen/builder_test.go +++ b/internal/codegen/builder_test.go @@ -3,9 +3,9 @@ package codegen_test import ( "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/testutils" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/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 73d7684..8b583a1 100644 --- a/internal/codegen/function.go +++ b/internal/codegen/function.go @@ -6,7 +6,7 @@ import ( "strings" "text/template" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) const functionTemplate = ` diff --git a/internal/codegen/function_test.go b/internal/codegen/function_test.go index aa9a4ee..0a3ef92 100644 --- a/internal/codegen/function_test.go +++ b/internal/codegen/function_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/testutils" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/testutils" ) func TestFunctionBuilderBuild_NoReturn(t *testing.T) { diff --git a/internal/codegen/method.go b/internal/codegen/method.go index 8730aa1..0f02937 100644 --- a/internal/codegen/method.go +++ b/internal/codegen/method.go @@ -5,7 +5,7 @@ import ( "fmt" "text/template" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) const methodTemplate = ` diff --git a/internal/codegen/method_test.go b/internal/codegen/method_test.go index fb0a8d9..00933a1 100644 --- a/internal/codegen/method_test.go +++ b/internal/codegen/method_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/testutils" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/testutils" ) func TestMethodBuilderBuild_IgnoreReceiverNoReturn(t *testing.T) { diff --git a/internal/codegen/struct.go b/internal/codegen/struct.go index 82530a6..5defeea 100644 --- a/internal/codegen/struct.go +++ b/internal/codegen/struct.go @@ -6,7 +6,7 @@ import ( "strings" "text/template" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) const structTemplate = ` diff --git a/internal/codegen/struct_test.go b/internal/codegen/struct_test.go index c51697b..82cac6c 100644 --- a/internal/codegen/struct_test.go +++ b/internal/codegen/struct_test.go @@ -4,9 +4,9 @@ import ( "bytes" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/testutils" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/testutils" ) const expectedStructBuilderCode = ` diff --git a/internal/generator/generator.go b/internal/generator/generator.go index 1fa7d4b..dc7d34a 100644 --- a/internal/generator/generator.go +++ b/internal/generator/generator.go @@ -1,10 +1,10 @@ package generator import ( - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" + "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" ) // GenerateRepository generates repository implementation code from repository diff --git a/internal/generator/generator_test.go b/internal/generator/generator_test.go index dc051a4..4bf4e2b 100644 --- a/internal/generator/generator_test.go +++ b/internal/generator/generator_test.go @@ -4,10 +4,10 @@ import ( "os" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/generator" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) var ( diff --git a/internal/mongo/common.go b/internal/mongo/common.go index 15a1f72..330ed78 100644 --- a/internal/mongo/common.go +++ b/internal/mongo/common.go @@ -3,9 +3,9 @@ package mongo import ( "strings" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) var errOccurred = codegen.RawStatement("err != nil") diff --git a/internal/mongo/count.go b/internal/mongo/count.go index 25898e2..a0a78a7 100644 --- a/internal/mongo/count.go +++ b/internal/mongo/count.go @@ -1,8 +1,8 @@ package mongo import ( - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateCountBody( diff --git a/internal/mongo/count_test.go b/internal/mongo/count_test.go index 87c9c0c..8089949 100644 --- a/internal/mongo/count_test.go +++ b/internal/mongo/count_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) func TestGenerateMethod_Count(t *testing.T) { diff --git a/internal/mongo/delete.go b/internal/mongo/delete.go index aa8e1b7..fe8ba18 100644 --- a/internal/mongo/delete.go +++ b/internal/mongo/delete.go @@ -1,8 +1,8 @@ package mongo import ( - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateDeleteBody( diff --git a/internal/mongo/delete_test.go b/internal/mongo/delete_test.go index 1f16aa6..095613f 100644 --- a/internal/mongo/delete_test.go +++ b/internal/mongo/delete_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) func TestGenerateMethod_Delete(t *testing.T) { diff --git a/internal/mongo/errors.go b/internal/mongo/errors.go index 327f406..c9afcea 100644 --- a/internal/mongo/errors.go +++ b/internal/mongo/errors.go @@ -3,7 +3,7 @@ package mongo import ( "fmt" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/spec" ) // NewOperationNotSupportedError creates operationNotSupportedError diff --git a/internal/mongo/errors_test.go b/internal/mongo/errors_test.go index 8d90bd9..17bedfa 100644 --- a/internal/mongo/errors_test.go +++ b/internal/mongo/errors_test.go @@ -3,8 +3,8 @@ package mongo_test import ( "testing" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/mongo" + "git.kmsign.com/royalcat/repogen/internal/spec" ) type ErrorTestCase struct { diff --git a/internal/mongo/find.go b/internal/mongo/find.go index 7df4f56..ef30f81 100644 --- a/internal/mongo/find.go +++ b/internal/mongo/find.go @@ -3,9 +3,9 @@ package mongo import ( "strconv" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateFindBody( diff --git a/internal/mongo/find_test.go b/internal/mongo/find_test.go index d02e657..c3095cb 100644 --- a/internal/mongo/find_test.go +++ b/internal/mongo/find_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) func TestGenerateMethod_Find(t *testing.T) { diff --git a/internal/mongo/generator.go b/internal/mongo/generator.go index 26c040e..ebe7a40 100644 --- a/internal/mongo/generator.go +++ b/internal/mongo/generator.go @@ -3,9 +3,9 @@ package mongo import ( "fmt" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/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 9904a2b..80deedd 100644 --- a/internal/mongo/generator_test.go +++ b/internal/mongo/generator_test.go @@ -5,10 +5,10 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" + "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" ) var ( diff --git a/internal/mongo/insert.go b/internal/mongo/insert.go index 996acbc..bed5054 100644 --- a/internal/mongo/insert.go +++ b/internal/mongo/insert.go @@ -1,9 +1,9 @@ package mongo import ( - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateInsertBody( diff --git a/internal/mongo/insert_test.go b/internal/mongo/insert_test.go index c921192..c7a077a 100644 --- a/internal/mongo/insert_test.go +++ b/internal/mongo/insert_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) func TestGenerateMethod_Insert(t *testing.T) { diff --git a/internal/mongo/models.go b/internal/mongo/models.go index 4b863de..8b9017f 100644 --- a/internal/mongo/models.go +++ b/internal/mongo/models.go @@ -4,9 +4,9 @@ import ( "fmt" "sort" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) type updateField struct { diff --git a/internal/mongo/update.go b/internal/mongo/update.go index a29f77e..49b3f89 100644 --- a/internal/mongo/update.go +++ b/internal/mongo/update.go @@ -1,8 +1,8 @@ package mongo import ( - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/codegen" + "git.kmsign.com/royalcat/repogen/internal/spec" ) func (g RepositoryGenerator) generateUpdateBody( diff --git a/internal/mongo/update_test.go b/internal/mongo/update_test.go index d67a6e5..01a7e64 100644 --- a/internal/mongo/update_test.go +++ b/internal/mongo/update_test.go @@ -5,11 +5,11 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/codegen" - "github.com/sunboyy/repogen/internal/mongo" - "github.com/sunboyy/repogen/internal/spec" - "github.com/sunboyy/repogen/internal/testutils" + "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" ) func TestGenerateMethod_Update(t *testing.T) { diff --git a/internal/spec/errors.go b/internal/spec/errors.go index 37fb336..0c114f7 100644 --- a/internal/spec/errors.go +++ b/internal/spec/errors.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) // parsing error constants diff --git a/internal/spec/errors_test.go b/internal/spec/errors_test.go index 9b75340..3a5778d 100644 --- a/internal/spec/errors_test.go +++ b/internal/spec/errors_test.go @@ -3,8 +3,8 @@ package spec_test import ( "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/spec" ) type ErrorTestCase struct { diff --git a/internal/spec/field.go b/internal/spec/field.go index 0d4d4a7..fd6d4d1 100644 --- a/internal/spec/field.go +++ b/internal/spec/field.go @@ -3,7 +3,7 @@ package spec import ( "strings" - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/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 5c856cf..f364be7 100644 --- a/internal/spec/models.go +++ b/internal/spec/models.go @@ -1,7 +1,7 @@ package spec import ( - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/code" ) // QueryMode one or many diff --git a/internal/spec/models_test.go b/internal/spec/models_test.go index 7916885..bd4cd4d 100644 --- a/internal/spec/models_test.go +++ b/internal/spec/models_test.go @@ -3,7 +3,7 @@ package spec_test import ( "testing" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/spec" ) type OperationTestCase struct { diff --git a/internal/spec/parser.go b/internal/spec/parser.go index aa5d9c6..a5c13ea 100644 --- a/internal/spec/parser.go +++ b/internal/spec/parser.go @@ -3,8 +3,8 @@ package spec import ( "strconv" + "git.kmsign.com/royalcat/repogen/internal/code" "github.com/fatih/camelcase" - "github.com/sunboyy/repogen/internal/code" ) // ParseInterfaceMethod returns repository method spec from declared interface diff --git a/internal/spec/parser_test.go b/internal/spec/parser_test.go index 916e1d2..c293e98 100644 --- a/internal/spec/parser_test.go +++ b/internal/spec/parser_test.go @@ -5,8 +5,8 @@ import ( "reflect" "testing" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/spec" ) var ( diff --git a/internal/spec/query.go b/internal/spec/query.go index 1365193..344cc47 100644 --- a/internal/spec/query.go +++ b/internal/spec/query.go @@ -1,7 +1,7 @@ package spec import ( - "github.com/sunboyy/repogen/internal/code" + "git.kmsign.com/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 4c7cfea..392d1f1 100644 --- a/internal/spec/update.go +++ b/internal/spec/update.go @@ -1,6 +1,6 @@ package spec -import "github.com/sunboyy/repogen/internal/code" +import "git.kmsign.com/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 f3b802f..56c9090 100644 --- a/internal/spec/update_test.go +++ b/internal/spec/update_test.go @@ -3,7 +3,7 @@ package spec_test import ( "testing" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/spec" ) type UpdateTypeTestCase struct { diff --git a/internal/testutils/multilines_test.go b/internal/testutils/multilines_test.go index e33ef55..dc54482 100644 --- a/internal/testutils/multilines_test.go +++ b/internal/testutils/multilines_test.go @@ -3,7 +3,7 @@ package testutils_test import ( "testing" - "github.com/sunboyy/repogen/internal/testutils" + "git.kmsign.com/royalcat/repogen/internal/testutils" ) func TestExpectMultiLineString(t *testing.T) { diff --git a/main.go b/main.go index dd0bd9e..895e60f 100644 --- a/main.go +++ b/main.go @@ -10,14 +10,14 @@ import ( "os" "path/filepath" - "github.com/sunboyy/repogen/internal/code" - "github.com/sunboyy/repogen/internal/generator" - "github.com/sunboyy/repogen/internal/spec" + "git.kmsign.com/royalcat/repogen/internal/code" + "git.kmsign.com/royalcat/repogen/internal/generator" + "git.kmsign.com/royalcat/repogen/internal/spec" ) const usageText = `repogen generates MongoDB repository implementation from repository interface - Find more information at: https://github.com/sunboyy/repogen + Find more information at: https://git.kmsign.com/royalcat/repogen Supported options:`