🚚 Renamed path test example to Shift test example
This commit is contained in:
parent
f30a82e193
commit
97ff2563df
|
@ -6,7 +6,7 @@ import (
|
|||
"source.toby3d.me/toby3d/hacks/path"
|
||||
)
|
||||
|
||||
func Example() {
|
||||
func ExampleShift() {
|
||||
head, tail := path.Shift("/foo/bar/index.html")
|
||||
fmt.Println(head, tail)
|
||||
// Output: foo /bar/index.html
|
||||
|
|
Loading…
Reference in New Issue