This file contains hidden or 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
param ( | |
[string]$fileName = "model.xml" | |
) | |
If (Test-Path $fileName) { | |
$modelXmlPath = Resolve-Path $fileName | |
} else { | |
Write-Host ("File " + (Resolve-Path .) + "\" + $fileName + " does not exist"); | |
exit; | |
} |
This file contains hidden or 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
package main | |
//go:generate go run -mod=mod github.com/golang/mock/mockgen -package main -destination=adapter_mock.go -source=./adapter.go -build_flags=-mod=mod | |
type ( | |
ExternalAdapter interface { | |
ExternalCall() error | |
} | |
externalAdapter struct { | |
} |
OlderNewer