feat: unified cmd and api

Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
Thomas Schuetz
2023-04-13 08:11:56 +02:00
parent adae2ef71d
commit 9157d4dd13
7 changed files with 76 additions and 117 deletions

View File

@@ -129,3 +129,7 @@ func ReplaceIfMatch(text string, pattern string, replacement string) string {
}
return text
}
func GetCacheKey(provider string, sEnc string) string {
return fmt.Sprintf("%s-%s", provider, sEnc)
}