-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: edit mockery configuration, remove scattered go:generate annot…
…ations, edited linter config
- Loading branch information
Showing
10 changed files
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
inpackage: false | ||
testonly: false | ||
with-expecter: true | ||
keeptree: true | ||
disable-version-string: true | ||
with-expecter: True | ||
disable-version-string: True | ||
dir: "{{.InterfaceDir}}/mocks" | ||
outpkg: "mocks" | ||
mockname: "{{.InterfaceName}}" | ||
filename: "{{.InterfaceName | snakecase}}.go" | ||
packages: | ||
"flamingo.me/flamingo/v3/core/security/application": | ||
interfaces: | ||
SecurityService: | ||
"flamingo.me/flamingo/v3/core/security/application/role": | ||
interfaces: | ||
Provider: | ||
Service: | ||
"flamingo.me/flamingo/v3/core/security/domain": | ||
interfaces: | ||
PermissionSet: | ||
Role: | ||
"flamingo.me/flamingo/v3/core/security/application/voter": | ||
interfaces: | ||
SecurityVoter: | ||
"flamingo.me/flamingo/v3/core/security/interface/middleware": | ||
interfaces: | ||
RedirectURLMaker: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
package application | ||
|
||
//go:generate go run github.com/vektra/mockery/v2@v2.49.1 --name=SecurityService --case=underscore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
package role | ||
|
||
//go:generate go run github.com/vektra/mockery/v2@v2.49.1 --all --case=underscore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
package voter | ||
|
||
//go:generate go run github.com/vektra/mockery/v2@v2.49.1 --all --case=underscore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
package domain | ||
|
||
//go:generate go run github.com/vektra/mockery/v2@v2.49.1 --all --case=underscore |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
package middleware | ||
|
||
//go:generate go run github.com/vektra/mockery/v2@v2.49.1 --all --case=underscore |