23 lines
434 B
Go
23 lines
434 B
Go
|
// Package serialize ...
|
||
|
//
|
||
|
// Description : serialize ...
|
||
|
//
|
||
|
// Author : go_developer@163.com<白茶清欢>
|
||
|
//
|
||
|
// Date : 2024-11-15 15:36
|
||
|
package serialize
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func Test_file_ReadDirFileList(t *testing.T) {
|
||
|
f := &file{}
|
||
|
fileList, err := f.ReadDirFileList("/Users/zhangdeman/project/go-project/wrapper", true, true)
|
||
|
if nil != err {
|
||
|
panic(err.Error())
|
||
|
}
|
||
|
fmt.Println(JSON.MarshalForString(fileList))
|
||
|
}
|