Closed matryer closed 11 years ago
The Path helper would just blend all arguments into a path, separated by /.
Path
/
stretchr.Path("people", "123", "books") //= "people/123/books"
Should also work with arrays:
personSegs := []string{"people", "123"} stretchr.Path(personSegs, "books", "456") //= "people/123/books/456"
stew/strings
The
Path
helper would just blend all arguments into a path, separated by/
.Should also work with arrays:
stew/strings
for performance