Documentation ¶
Index ¶
- func GetProviderPath(providerRepoName string) (string, error)
- func GoModTidy(providerPath string) error
- func ReadOneOf(dir string, filenames ...string) (fullpath string, content []byte, err error)
- func RewriteGoMod(providerPath string, sdkVersion string, oldPackagePath string, ...) error
- func RewriteImportedPackageImports(filePath string, stringToReplace string, replacement string) error
- func SearchLines(lines []string, search string, start int) int
- func SearchLinesPrefix(lines []string, search string, start int) int
- func StringSliceContains(ss []string, s string) bool
- type ExecError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProviderPath ¶
func RewriteGoMod ¶ added in v1.2.0
func RewriteImportedPackageImports ¶ added in v1.2.0
func StringSliceContains ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.