diff options
Diffstat (limited to 'vendor/gopkg.in/toqueteos/substring.v1/lib.go')
-rw-r--r-- | vendor/gopkg.in/toqueteos/substring.v1/lib.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/gopkg.in/toqueteos/substring.v1/lib.go b/vendor/gopkg.in/toqueteos/substring.v1/lib.go deleted file mode 100644 index 9cd4a30261..0000000000 --- a/vendor/gopkg.in/toqueteos/substring.v1/lib.go +++ /dev/null @@ -1,10 +0,0 @@ -package substring - -// reverse is a helper fn for Suffixes -func reverse(b []byte) []byte { - n := len(b) - for i := 0; i < n/2; i++ { - b[i], b[n-1-i] = b[n-1-i], b[i] - } - return b -} |