MSP-5186 Update lint
This commit is contained in:
1 parent
ffa5e100db
commit
28cff347ab
5 files changed
+8
-11
No files matched your search
@@ -12,7 +12,7 @@ type IAccessListAccessListRep interface {
|
||||
GetAccessListByAppId(ctx context.Context, appId int) ([]entity.AccessList, error)
|
||||
}
|
||||
|
||||
type IAccessListApplicationRep interface {
|
||||
type IAccessListApplicationRep interface { // nolint:iface
|
||||
GetApplicationById(ctx context.Context, id int) (*entity.Application, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ type IApplicationApplicationRep interface {
|
||||
UpdateApplication(ctx context.Context, id int, name string, description string) (*entity.Application, error)
|
||||
}
|
||||
|
||||
type IApplicationTokenRep interface {
|
||||
type IApplicationTokenRep interface { // nolint:iface
|
||||
GetTokenByAppIdList(ctx context.Context, appIdList []int) ([]entity.Token, error)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ type IServiceServiceRep interface {
|
||||
DeleteService(ctx context.Context, idList []int) (int, error)
|
||||
}
|
||||
|
||||
type IServiceDomainRep interface {
|
||||
type IServiceDomainRep interface { // nolint:iface
|
||||
GetDomainById(ctx context.Context, id int) (*entity.Domain, error)
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -16,7 +16,7 @@ type ITokenAppEnrich interface {
|
||||
EnrichWithTokens(ctx context.Context, apps []entity.Application) ([]*domain.ApplicationWithTokens, error)
|
||||
}
|
||||
|
||||
type ITokenApplicationRep interface {
|
||||
type ITokenApplicationRep interface { // nolint:iface
|
||||
GetApplicationById(ctx context.Context, id int) (*entity.Application, error)
|
||||
}
|
||||
|
||||
@@ -24,11 +24,11 @@ type ITokenServiceRep interface {
|
||||
GetServiceById(ctx context.Context, id int) (*entity.Service, error)
|
||||
}
|
||||
|
||||
type ITokenDomainRep interface {
|
||||
type ITokenDomainRep interface { // nolint:iface
|
||||
GetDomainById(ctx context.Context, id int) (*entity.Domain, error)
|
||||
}
|
||||
|
||||
type ITokenTokenRep interface {
|
||||
type ITokenTokenRep interface { // nolint:iface
|
||||
GetTokenByAppIdList(ctx context.Context, appIdList []int) ([]entity.Token, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user