fix: gfile scan dir example
@@ -10,7 +10,7 @@ func ExampleScanDir() {
// init
var (
fileName = "gflie_example.txt"
- tempDir = gfile.TempDir("gfile_example_replace")
+ tempDir = gfile.TempDir("gfile_example_scan_dir")
tempFile = gfile.Join(tempDir, fileName)
tempSubDir = gfile.Join(tempDir, "sub_dir")
@@ -37,7 +37,7 @@ func ExampleScanDirFile() {
// init
var (
fileName = "gflie_example.txt"
- tempDir = gfile.TempDir("gfile_example_replace")
+ tempDir = gfile.TempDir("gfile_example_scan_dir_file")
tempFile = gfile.Join(tempDir, fileName)
tempSubDir = gfile.Join(tempDir, "sub_dir")
@@ -63,7 +63,7 @@ func ExampleScanDirFunc() {
// init
var (
fileName = "gflie_example.txt"
- tempDir = gfile.TempDir("gfile_example_replace")
+ tempDir = gfile.TempDir("gfile_example_scan_dir_func")
tempFile = gfile.Join(tempDir, fileName)
tempSubDir = gfile.Join(tempDir, "sub_dir")
@@ -94,7 +94,7 @@ func ExampleScanDirFileFunc() {
// init
var (
fileName = "gflie_example.txt"
- tempDir = gfile.TempDir("gfile_example_replace")
+ tempDir = gfile.TempDir("gfile_example_scan_dir_file_func")
tempFile = gfile.Join(tempDir, fileName)
fileName1 = "gflie_example_ignores.txt"
