Rename arg

This commit is contained in:
s.kamardin 2015-12-01 17:24:31 +03:00
parent b809127dcf
commit 3c56fe78a7
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ type Glob interface {
// `?` matches any single non-separator character
// c matches character c (c != `*`, `**`, `?`, `\`)
// `\` c matches character c
func New(pattern string, d ...string) Glob {
chunks := parse(pattern, nil, strings.Join(d, ""), false)
func New(pattern string, separators ...string) Glob {
chunks := parse(pattern, nil, strings.Join(separators, ""), false)
switch len(chunks) {
case 1: