]> Sergey Matveev's repositories - path-extractor.git/blobdiff - extractor.go
Move cli entry poiny to path-extractor/
[path-extractor.git] / extractor.go
index b7be986ea6b3ab8bca8582b0c8d6af4c7bb06d8e..0b036640ede67bd1bedea8b92f21d1cdf47e96f8 100644 (file)
@@ -1,4 +1,4 @@
-package main
+package pathextractor
 
 import "regexp"
 
@@ -10,7 +10,7 @@ func pathExtractor(input string) [][][]byte {
        return temp
 }
 
-func getAllMatches(input string) []string {
+func GetAllMatches(input string) []string {
        matches := [][][]byte{}
        result := []string{}
        s := string("")