mirror of
https://github.com/lovelaze/nebula-sync.git
synced 2025-11-05 18:29:19 +01:00
Adjust mockery mock file names
This commit is contained in:
committed by
lovelaze
parent
137fd118ca
commit
3b48cd1e96
+2
-2
@@ -1,13 +1,13 @@
|
||||
all: false
|
||||
dir: 'internal/mocks/{{.SrcPackageName}}'
|
||||
filename: '{{.InterfaceName}}.go'
|
||||
filename: 'mock_{{lower .InterfaceName}}.go'
|
||||
force-file-write: true
|
||||
formatter: goimports
|
||||
structname: '{{.InterfaceName}}'
|
||||
pkgname: '{{.SrcPackageName}}'
|
||||
template: testify
|
||||
packages:
|
||||
github.com/lovelaze/nebula-sync:
|
||||
github.com/lovelaze/nebula-sync/internal:
|
||||
config:
|
||||
all: true
|
||||
recursive: true
|
||||
|
||||
Reference in New Issue
Block a user