From 97ff2563df4838f47e85e063190de8385719f97b Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Tue, 19 Mar 2024 16:22:09 +0500 Subject: [PATCH] :truck: Renamed path test example to Shift test example --- path/path_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/path/path_test.go b/path/path_test.go index 5d18f58..bc94276 100644 --- a/path/path_test.go +++ b/path/path_test.go @@ -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