diff --git a/api/health/v1/health.pb.go b/api/health/v1/health.pb.go index 567cd64..b879c0d 100644 --- a/api/health/v1/health.pb.go +++ b/api/health/v1/health.pb.go @@ -199,12 +199,14 @@ var file_health_v1_health_proto_rawDesc = []byte{ 0x1a, 0x23, 0x2e, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x64, 0x79, 0x7a, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x0f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x09, 0x12, 0x07, 0x2f, - 0x72, 0x65, 0x61, 0x64, 0x79, 0x7a, 0x42, 0x47, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x7a, 0x42, 0x61, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, - 0x1e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2d, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/api/health/v1/health.proto b/api/health/v1/health.proto index f53f401..23cdb6e 100644 --- a/api/health/v1/health.proto +++ b/api/health/v1/health.proto @@ -4,7 +4,7 @@ package kessel.relations.v1; import "google/api/annotations.proto"; -option go_package = "relations-api/api/health/v1;v1"; +option go_package = "github.com/project-kessel/relations-api/api/health/v1;v1"; option java_multiple_files = true; option java_package = "org.project_kessel.api.relations.v1"; diff --git a/api/relations/v0/check.pb.go b/api/relations/v0/check.pb.go index 9c783b6..e3fe47c 100644 --- a/api/relations/v0/check.pb.go +++ b/api/relations/v0/check.pb.go @@ -218,12 +218,14 @@ var file_relations_v0_check_proto_rawDesc = []byte{ 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x3a, 0x01, 0x2a, 0x22, 0x09, 0x2f, 0x76, 0x30, 0x2f, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x4a, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x64, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, 0x5a, 0x21, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, 0x76, - 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, 0x5a, 0x3b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x2d, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( diff --git a/api/relations/v0/check.proto b/api/relations/v0/check.proto index 82ffe96..783de9c 100644 --- a/api/relations/v0/check.proto +++ b/api/relations/v0/check.proto @@ -5,7 +5,7 @@ package kessel.relations.v0; import "google/api/annotations.proto"; import "relations/v0/common.proto"; -option go_package = "relations-api/api/relations/v0;v0"; +option go_package = "github.com/project-kessel/relations-api/api/relations/v0;v0"; option java_multiple_files = true; option java_package = "org.project_kessel.api.relations.v0"; diff --git a/api/relations/v0/common.pb.go b/api/relations/v0/common.pb.go index f5740a8..08cca25 100644 --- a/api/relations/v0/common.pb.go +++ b/api/relations/v0/common.pb.go @@ -408,12 +408,14 @@ var file_relations_v0_common_proto_rawDesc = []byte{ 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x4a, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x64, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, 0x5a, - 0x21, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, - 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2d, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/relations/v0/common.proto b/api/relations/v0/common.proto index 04a12e7..832fc59 100644 --- a/api/relations/v0/common.proto +++ b/api/relations/v0/common.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package kessel.relations.v0; -option go_package = "relations-api/api/relations/v0;v0"; +option go_package = "github.com/project-kessel/relations-api/api/relations/v0;v0"; option java_multiple_files = true; option java_package = "org.project_kessel.api.relations.v0"; diff --git a/api/relations/v0/lookup.pb.go b/api/relations/v0/lookup.pb.go index 9030600..3708a70 100644 --- a/api/relations/v0/lookup.pb.go +++ b/api/relations/v0/lookup.pb.go @@ -206,12 +206,14 @@ var file_relations_v0_lookup_proto_rawDesc = []byte{ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x30, 0x2f, 0x73, 0x75, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x73, 0x30, 0x01, 0x42, 0x4a, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x30, 0x01, 0x42, 0x64, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, - 0x5a, 0x21, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, - 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/relations/v0/lookup.proto b/api/relations/v0/lookup.proto index 8a4d71c..242cab3 100644 --- a/api/relations/v0/lookup.proto +++ b/api/relations/v0/lookup.proto @@ -5,7 +5,7 @@ package kessel.relations.v0; import "google/api/annotations.proto"; import "relations/v0/common.proto"; -option go_package = "relations-api/api/relations/v0;v0"; +option go_package = "github.com/project-kessel/relations-api/api/relations/v0;v0"; option java_multiple_files = true; option java_package = "org.project_kessel.api.relations.v0"; diff --git a/api/relations/v0/relation_tuples.pb.go b/api/relations/v0/relation_tuples.pb.go index 5323ab9..52991b8 100644 --- a/api/relations/v0/relation_tuples.pb.go +++ b/api/relations/v0/relation_tuples.pb.go @@ -573,13 +573,14 @@ var file_relations_v0_relation_tuples_proto_rawDesc = []byte{ 0x2e, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x30, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x0c, 0x2a, 0x0a, 0x2f, 0x76, 0x30, 0x2f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x4a, 0x0a, + 0x0c, 0x2a, 0x0a, 0x2f, 0x76, 0x30, 0x2f, 0x74, 0x75, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x64, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6b, 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, 0x5a, 0x21, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x73, 0x2e, 0x76, 0x30, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x6b, 0x65, 0x73, 0x73, 0x65, + 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x30, + 0x3b, 0x76, 0x30, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/relations/v0/relation_tuples.proto b/api/relations/v0/relation_tuples.proto index 511c4ab..a27a1a9 100644 --- a/api/relations/v0/relation_tuples.proto +++ b/api/relations/v0/relation_tuples.proto @@ -5,7 +5,7 @@ package kessel.relations.v0; import "google/api/annotations.proto"; import "relations/v0/common.proto"; -option go_package = "relations-api/api/relations/v0;v0"; +option go_package = "github.com/project-kessel/relations-api/api/relations/v0;v0"; option java_multiple_files = true; option java_package = "org.project_kessel.api.relations.v0"; diff --git a/cmd/relations-api/main.go b/cmd/relations-api/main.go index ae726b1..c8b076c 100644 --- a/cmd/relations-api/main.go +++ b/cmd/relations-api/main.go @@ -5,7 +5,7 @@ import ( "github.com/go-kratos/kratos/v2/config/env" "os" - "relations-api/internal/conf" + "github.com/project-kessel/relations-api/internal/conf" "github.com/go-kratos/kratos/v2" "github.com/go-kratos/kratos/v2/config" diff --git a/cmd/relations-api/wire.go b/cmd/relations-api/wire.go index 841ddbe..99344f5 100644 --- a/cmd/relations-api/wire.go +++ b/cmd/relations-api/wire.go @@ -6,11 +6,11 @@ package main import ( - "relations-api/internal/biz" - "relations-api/internal/conf" - "relations-api/internal/data" - "relations-api/internal/server" - "relations-api/internal/service" + "github.com/project-kessel/relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/conf" + "github.com/project-kessel/relations-api/internal/data" + "github.com/project-kessel/relations-api/internal/server" + "github.com/project-kessel/relations-api/internal/service" "github.com/go-kratos/kratos/v2" "github.com/go-kratos/kratos/v2/log" diff --git a/cmd/relations-api/wire_gen.go b/cmd/relations-api/wire_gen.go index a58f341..4d0bb17 100644 --- a/cmd/relations-api/wire_gen.go +++ b/cmd/relations-api/wire_gen.go @@ -9,11 +9,11 @@ package main import ( "github.com/go-kratos/kratos/v2" "github.com/go-kratos/kratos/v2/log" - "relations-api/internal/biz" - "relations-api/internal/conf" - "relations-api/internal/data" - "relations-api/internal/server" - "relations-api/internal/service" + "github.com/project-kessel/relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/conf" + "github.com/project-kessel/relations-api/internal/data" + "github.com/project-kessel/relations-api/internal/server" + "github.com/project-kessel/relations-api/internal/service" ) import ( diff --git a/go.mod b/go.mod index ca4aa44..f29b4c1 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module relations-api +module github.com/project-kessel/relations-api go 1.21 diff --git a/internal/biz/lookup.go b/internal/biz/lookup.go index 22c5518..3a25eb0 100644 --- a/internal/biz/lookup.go +++ b/internal/biz/lookup.go @@ -2,7 +2,7 @@ package biz import ( "context" - v0 "relations-api/api/relations/v0" + v0 "github.com/project-kessel/relations-api/api/relations/v0" "github.com/go-kratos/kratos/v2/errors" "github.com/go-kratos/kratos/v2/log" diff --git a/internal/biz/relationships.go b/internal/biz/relationships.go index 45d6634..96c3f4d 100644 --- a/internal/biz/relationships.go +++ b/internal/biz/relationships.go @@ -2,7 +2,7 @@ package biz import ( "context" - v0 "relations-api/api/relations/v0" + v0 "github.com/project-kessel/relations-api/api/relations/v0" "github.com/go-kratos/kratos/v2/log" ) diff --git a/internal/conf/conf.pb.go b/internal/conf/conf.pb.go index ecd9b61..baaa9d5 100644 --- a/internal/conf/conf.pb.go +++ b/internal/conf/conf.pb.go @@ -428,10 +428,11 @@ var file_conf_conf_proto_rawDesc = []byte{ 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, - 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x22, 0x5a, 0x20, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6b, 0x65, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2d, 0x6b, + 0x65, 0x73, 0x73, 0x65, 0x6c, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2d, + 0x61, 0x70, 0x69, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x63, 0x6f, 0x6e, + 0x66, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/conf/conf.proto b/internal/conf/conf.proto index 25e97ba..75fd4ed 100644 --- a/internal/conf/conf.proto +++ b/internal/conf/conf.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package kratos.api; -option go_package = "relations-api/internal/conf;conf"; +option go_package = "github.com/project-kessel/relations-api/internal/conf;conf"; import "google/protobuf/duration.proto"; diff --git a/internal/data/LocalSpiceDbContainer.go b/internal/data/LocalSpiceDbContainer.go index 516776b..1b132aa 100644 --- a/internal/data/LocalSpiceDbContainer.go +++ b/internal/data/LocalSpiceDbContainer.go @@ -8,11 +8,11 @@ import ( "fmt" "github.com/authzed/authzed-go/v1" "github.com/go-kratos/kratos/v2/log" + "github.com/project-kessel/relations-api/internal/conf" "io" "os" "path" "path/filepath" - "relations-api/internal/conf" "runtime" "time" diff --git a/internal/data/data.go b/internal/data/data.go index 7caf14a..ad729e0 100644 --- a/internal/data/data.go +++ b/internal/data/data.go @@ -2,7 +2,7 @@ package data import ( "github.com/google/wire" - "relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/biz" ) // ProviderSet is data providers. diff --git a/internal/data/spicedb.go b/internal/data/spicedb.go index b5b20e9..0e96805 100644 --- a/internal/data/spicedb.go +++ b/internal/data/spicedb.go @@ -4,11 +4,11 @@ import ( "context" "errors" "fmt" + apiV0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/conf" "io" "os" - apiV0 "relations-api/api/relations/v0" - "relations-api/internal/biz" - "relations-api/internal/conf" "strings" v1 "github.com/authzed/authzed-go/proto/authzed/api/v1" diff --git a/internal/data/spicedb_test.go b/internal/data/spicedb_test.go index e05d913..1c4a243 100644 --- a/internal/data/spicedb_test.go +++ b/internal/data/spicedb_test.go @@ -3,9 +3,9 @@ package data import ( "context" "fmt" + apiV0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/biz" "os" - apiV0 "relations-api/api/relations/v0" - "relations-api/internal/biz" "testing" "github.com/go-kratos/kratos/v2/log" diff --git a/internal/server/grpc.go b/internal/server/grpc.go index 4bbef6a..a4fba68 100644 --- a/internal/server/grpc.go +++ b/internal/server/grpc.go @@ -1,10 +1,10 @@ package server import ( - h "relations-api/api/health/v1" - v0 "relations-api/api/relations/v0" - "relations-api/internal/conf" - "relations-api/internal/service" + h "github.com/project-kessel/relations-api/api/health/v1" + v0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/conf" + "github.com/project-kessel/relations-api/internal/service" "github.com/go-kratos/kratos/v2/log" "github.com/go-kratos/kratos/v2/middleware/recovery" diff --git a/internal/server/http.go b/internal/server/http.go index 84d6c95..b63746d 100644 --- a/internal/server/http.go +++ b/internal/server/http.go @@ -1,10 +1,10 @@ package server import ( - h "relations-api/api/health/v1" - v0 "relations-api/api/relations/v0" - "relations-api/internal/conf" - "relations-api/internal/service" + h "github.com/project-kessel/relations-api/api/health/v1" + v0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/conf" + "github.com/project-kessel/relations-api/internal/service" "github.com/go-kratos/kratos/v2/log" "github.com/go-kratos/kratos/v2/middleware/recovery" diff --git a/internal/service/check.go b/internal/service/check.go index afd1f35..bb0dd79 100644 --- a/internal/service/check.go +++ b/internal/service/check.go @@ -2,11 +2,11 @@ package service import ( "context" - "relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/biz" "github.com/go-kratos/kratos/v2/log" - pb "relations-api/api/relations/v0" + pb "github.com/project-kessel/relations-api/api/relations/v0" ) type CheckService struct { diff --git a/internal/service/health.go b/internal/service/health.go index c0322e5..3993e85 100644 --- a/internal/service/health.go +++ b/internal/service/health.go @@ -3,7 +3,7 @@ package service import ( "context" - pb "relations-api/api/health/v1" + pb "github.com/project-kessel/relations-api/api/health/v1" ) type HealthService struct { diff --git a/internal/service/lookup.go b/internal/service/lookup.go index e5e5705..05895d8 100644 --- a/internal/service/lookup.go +++ b/internal/service/lookup.go @@ -1,8 +1,8 @@ package service import ( - pb "relations-api/api/relations/v0" - "relations-api/internal/biz" + pb "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/biz" ) type LookupService struct { diff --git a/internal/service/lookup_test.go b/internal/service/lookup_test.go index e13e365..32fd19c 100644 --- a/internal/service/lookup_test.go +++ b/internal/service/lookup_test.go @@ -2,10 +2,10 @@ package service import ( "context" + v0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/data" "os" - v0 "relations-api/api/relations/v0" - "relations-api/internal/biz" - "relations-api/internal/data" "testing" "github.com/go-kratos/kratos/v2/log" diff --git a/internal/service/relationships.go b/internal/service/relationships.go index 7d1fa03..4557d74 100644 --- a/internal/service/relationships.go +++ b/internal/service/relationships.go @@ -2,11 +2,11 @@ package service import ( "context" - "relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/biz" "github.com/go-kratos/kratos/v2/log" - pb "relations-api/api/relations/v0" + pb "github.com/project-kessel/relations-api/api/relations/v0" ) type RelationshipsService struct { diff --git a/internal/service/relationships_test.go b/internal/service/relationships_test.go index 2b696ec..98b905d 100644 --- a/internal/service/relationships_test.go +++ b/internal/service/relationships_test.go @@ -3,10 +3,10 @@ package service import ( "context" "fmt" + v0 "github.com/project-kessel/relations-api/api/relations/v0" + "github.com/project-kessel/relations-api/internal/biz" + "github.com/project-kessel/relations-api/internal/data" "os" - v0 "relations-api/api/relations/v0" - "relations-api/internal/biz" - "relations-api/internal/data" "testing" "github.com/go-kratos/kratos/v2/log"