]> Sergey Matveev's repositories - path-extractor.git/blobdiff - extractor.go
Convert option to string
[path-extractor.git] / extractor.go
index c19b7d5cae73c091b2f8e4599b17cd98461cd7aa..e05ad4b93b50730c149315f98b68ec5655ba9fa7 100644 (file)
@@ -29,7 +29,8 @@ func postProcess(input string) string {
        return input
 }
 
-func GetAllMatches(input string, options MatchOptions) []string {
+func GetAllMatches(input string, format string) []string {
+       options := MatchOptions{format: format}
        result := []string{}
        candidatePath := string("")
        restOfLine := string("")