mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-15 18:22:27 +08:00
fix: ExampleListFileNames
This commit is contained in:
@@ -175,11 +175,11 @@ func ExampleReadFileByLine() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ExampleListFileNames() {
|
func ExampleListFileNames() {
|
||||||
fileList, _ := ListFileNames("../formatter/")
|
fileList, _ := ListFileNames("./")
|
||||||
fmt.Println(fileList)
|
fmt.Println(fileList)
|
||||||
|
|
||||||
// Output:
|
// Output:
|
||||||
// [formatter.go formatter_example_test.go formatter_test.go]
|
// [file.go file_example_test.go file_test.go]
|
||||||
}
|
}
|
||||||
|
|
||||||
func ExampleZip() {
|
func ExampleZip() {
|
||||||
|
|||||||
Reference in New Issue
Block a user