zglob
matches, err := zglob.Glob(`./foo/b*/**/z*.txt`)For using library:
$ go get github.com/mattn/go-zglobFor using command:
$ go install github.com/mattn/go-zglob/cmd/zglob@latestMIT
Yasuhiro Matsumoto (a.k.a mattn)