]> Cypherpunks repositories - gostls13.git/commit
exp/template: add globbing helpers to load groups of files into sets.
authorRob Pike <r@golang.org>
Fri, 22 Jul 2011 03:55:45 +0000 (13:55 +1000)
committerRob Pike <r@golang.org>
Fri, 22 Jul 2011 03:55:45 +0000 (13:55 +1000)
commit222450addb95c1b9264be28d77cc9da8a73b5647
tree2aba14f224580be1ea13c873586ef72fa9e5968f
parent99e5d48e59022f83a027e137421faaaf043b6309
exp/template: add globbing helpers to load groups of files into sets.
Also make the Set.Parse methods variadic so you can parse static lists of files without loops.

R=rsc, dsymonds, r
CC=golang-dev
https://golang.org/cl/4802051
src/pkg/exp/template/helper.go
src/pkg/exp/template/set_test.go
src/pkg/exp/template/testdata/file1.tmpl [new file with mode: 0644]
src/pkg/exp/template/testdata/file2.tmpl [new file with mode: 0644]