升级FileType枚举类型定义

This commit is contained in:
2024-11-25 16:18:53 +08:00
parent 42ae8fe5eb
commit 2d10d261da
4 changed files with 27 additions and 3 deletions

22
file_test.go Normal file
View File

@ -0,0 +1,22 @@
// 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))
}