dudaodong
|
5e79eaa9dd
|
feat: add IsZipFile
|
2023-04-24 11:00:58 +08:00 |
|
dudaodong
|
fcb3b97b45
|
doc: add docment and playground demo for v2.1.19
|
2023-04-18 15:21:03 +08:00 |
|
dudaodong
|
975c303a31
|
fix: ExampleListFileNames
|
2023-04-17 15:35:17 +08:00 |
|
dudaodong
|
3b8dd94a5c
|
fix: TestListFileNames
|
2023-04-17 15:32:59 +08:00 |
|
dudaodong
|
6e7300bbbf
|
feat: add CurrentPath
|
2023-04-05 15:55:55 +08:00 |
|
dudaodong
|
395e0883c7
|
fix: fix example test failed of CreateFile
|
2023-01-08 20:44:23 +08:00 |
|
dudaodong
|
936011dc3b
|
fix: fix bug in file test
|
2023-01-08 20:25:11 +08:00 |
|
dudaodong
|
d9c6294775
|
fix: fix goline error
|
2023-01-05 14:55:47 +08:00 |
|
dudaodong
|
3062eb7789
|
test: add examples for fileutil package
|
2023-01-03 11:55:23 +08:00 |
|
dudaodong
|
1197e8d1b6
|
fix: fix lint issue
|
2022-12-10 16:53:41 +08:00 |
|
dudaodong
|
13bbe19ab2
|
fix: fix lint issue
|
2022-12-10 16:41:40 +08:00 |
|
dudaodong
|
d36ab5cc3a
|
fix: go report issue ineffassign
|
2022-11-18 17:05:54 +08:00 |
|
dudaodong
|
f869a0a670
|
fix: issue#62: fix ZipSlip bug
|
2022-11-16 16:04:38 +08:00 |
|
dudaodong
|
be000a4bd6
|
fix: issue#62: fix ZipSlip bug
|
2022-11-16 15:08:42 +08:00 |
|
dudaodong
|
44370aef5e
|
refactor: change variable name to
|
2022-07-18 15:52:51 +08:00 |
|
tangqiu0205
|
957878dd98
|
feat: add func GetRequestPublicIp and IsInternalIP (#40)
* add: add func GetRequestPublicIp and IsInternalIP
* fix: fix test fileutil fail
Co-authored-by: zhanghu <305835360@qq.com>
|
2022-07-13 09:52:35 +08:00 |
|
dudaodong
|
2c0ab9e922
|
feat: add CreateDir function in file.go
|
2022-06-08 14:38:35 +08:00 |
|
dudaodong
|
4b4310265b
|
fix: update TestListFileNames
|
2022-03-17 19:46:19 +08:00 |
|
dudaodong
|
50c6e51393
|
upgrade go module v2
|
2022-03-17 10:57:35 +08:00 |
|
dudaodong
|
c939b26cb8
|
refactor: interface{} -> any
|
2022-03-16 18:41:40 +08:00 |
|
dudaodong
|
3ca096b4ac
|
update MiMeType func comment
|
2022-01-21 14:54:55 +08:00 |
|
dudaodong
|
1f45937190
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 16:04:33 +08:00 |
|
dudaodong
|
9da7115169
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 15:10:56 +08:00 |
|
dudaodong
|
cb7df1b57d
|
update: add some new feature comments for file and slice
|
2022-01-06 17:09:01 +08:00 |
|
dudaodong
|
eeff28606e
|
feat: add IsLink, FileMode, MiMeType funcs for file
|
2022-01-06 16:53:32 +08:00 |
|
dudaodong
|
86d4b25a2b
|
feat: and Zip and UnZip func for file operation
|
2022-01-06 15:15:59 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
dudaodong
|
6ab4fca433
|
fmt: go fmt fileutil/file_test.go and function/function.go
|
2021-12-26 21:41:46 +08:00 |
|
dudaodong
|
0cf59323ff
|
update: update comment for ReadFileByLine in file.go
|
2021-12-10 10:51:50 +08:00 |
|
dudaodong
|
3021985df9
|
feat: add ClearFile, ReadFileToString, ReadFileByLine into file.go
|
2021-12-09 20:19:13 +08:00 |
|
dudaodong
|
4e5d3c2603
|
fix: fix IsExist function in fileutil/file.go
|
2021-11-29 20:23:26 +08:00 |
|
dudaodong
|
fee6cb17f3
|
update: update validator test function
|
2021-11-29 15:53:48 +08:00 |
|
dudaodong
|
0c4b512084
|
fmt: fix some gofmt issue
|
2021-11-29 13:01:46 +08:00 |
|
dudaodong
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|