Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
abyssparanoia committed Oct 6, 2022
1 parent c276c0f commit 6ea3c3c
Show file tree
Hide file tree
Showing 52 changed files with 2,224 additions and 2,223 deletions.
2 changes: 1 addition & 1 deletion internal/domain/repository/mock/tenant.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package admin

import (
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/admin_api/v1"
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/admin_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/interceptor/request_interceptor"
"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/marshaller"
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/admin_api/v1"
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/admin_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase/input"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/interceptor/request_interceptor"
"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/interceptor/session_interceptor"
"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/marshaller"
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/admin_api/v1"
admin_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/admin_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase/input"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"

"firebase.google.com/go/auth"
debug_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/debug_api/v1"
debug_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/debug_api/v1"
)

type DebugHander struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/interceptor/session_interceptor"
"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/marshaller"
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/public_api/v1"
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/public_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase/input"
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package public

import (
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/public_api/v1"
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/public_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/internal/marshaller"
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/public_api/v1"
public_apiv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/public_api/v1"
"github.com/abyssparanoia/rapid-go/internal/usecase/input"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"google.golang.org/grpc/status"
)

const producerID = "mmg"
const producerID = "rapid"

const MAX_RESPONSE_LOG_SIZE = 150 * 1000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package marshaller

import (
"github.com/abyssparanoia/rapid-go/internal/domain/model"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/model/v1"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/model/v1"
)

func NewPagination(m *model.Pagination) *modelv1.Pagination {
Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/grpc/internal/marshaller/tenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package marshaller

import (
"github.com/abyssparanoia/rapid-go/internal/domain/model"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/model/v1"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/model/v1"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/grpc/internal/marshaller/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package marshaller

import (
"github.com/abyssparanoia/rapid-go/internal/domain/model"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/model/v1"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/model/v1"
"google.golang.org/protobuf/types/known/timestamppb"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package marshaller

import (
"github.com/abyssparanoia/rapid-go/internal/domain/model"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/mmg/model/v1"
modelv1 "github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb/rapid/model/v1"
)

func UserRoleToModel(userRole modelv1.UserRole) model.UserRole {
Expand Down
161 changes: 0 additions & 161 deletions internal/infrastructure/grpc/pb/mmg/admin_api/v1/admin.pb.go

This file was deleted.

Loading

0 comments on commit 6ea3c3c

Please sign in to comment.