dudaodong
be62aaac9b
refactor: update signature of WriteMapsToCsv function
...
g
2024-01-24 11:54:42 +08:00
dudaodong
bbc58c7e46
fix: fix the map key order issue of WriteMapsToCsv
2024-01-22 11:10:02 +08:00
dudaodong
b2c3fa0ab8
fix: fix golint issue
2024-01-01 17:43:11 +08:00
dudaodong
4afc838937
doc: add doc for WriteMapsToCsv
2024-01-01 17:40:32 +08:00
colorcrow
3482f80d1c
WriteCsvFile自定义分割符,增加map切片写入csv,增加追踪函数运行时间的函数 ( #157 )
...
* WriteCsvFile now support custom delimiter,Add write map slice to csv
* add trace func time
2024-01-01 16:54:04 +08:00
suacrbah
565f2893b9
feat: add support for seeking and read one line at a time from file ( #158 )
...
* feat: add support for seeking and read one line at a time from file
* feat: add support for calculating folder total size
---------
Co-authored-by: Suacrbah <5744580+Suacrbah@user.noreply.gitee.com >
2024-01-01 16:50:54 +08:00
dudaodong
e25b53712b
doc: add play ground demo
2023-10-08 11:19:44 +08:00
dudaodong
14c37b5a5f
Merge branch 'v2' of github.com:duke-git/lancet into v2
2023-09-23 13:48:40 +08:00
flytutu
a9f01d8a69
[opt] currentPath support windows and linux ( #139 )
...
Co-authored-by: hesu <hesu@eacomp.com >
2023-09-23 13:45:21 +08:00
o98k
781b89d51a
feat(fileutil): add ReadFile func ( #140 )
2023-09-23 13:45:02 +08:00
ggymm
e66ab154bc
fix: 覆盖写入字符串到文件问题 ( #128 )
2023-08-24 16:36:44 +08:00
dudaodong
1390b7a964
fix: fix bug of Zip
2023-08-03 10:45:48 +08:00
dudaodong
c3e28a9fc0
fix: fix bug of Zip
2023-08-02 20:17:55 +08:00
dudaodong
7b744c299e
fix: fix bug of CreateDir
2023-07-10 10:13:23 +08:00
dudaodong
8f49078eb3
doc: add go playground demo
2023-06-20 14:04:18 +08:00
dudaodong
0fd268face
Merge branch 'main' into v2
2023-06-17 19:38:53 +08:00
TheLastSunset
8ced7e887f
feat: add ZipAppendEntry ( #113 )
2023-06-17 19:36:42 +08:00
dudaodong
1650e70d04
Merge branch 'main' into v2
2023-06-13 10:15:17 +08:00
Thijs Schreijer
23382b2b76
fix doc comment typo ( #110 )
2023-06-12 20:13:14 +08:00
dudaodong
e2fc2f1bc9
feat: add WirteCsvFile
2023-06-08 14:40:37 +08:00
dudaodong
cbf8cfdffa
doc: add go playground demo
2023-06-01 14:11:57 +08:00
dudaodong
75ed359084
feat: add WriteBytesToFile and WriteStringToFile
2023-05-31 16:56:18 +08:00
dudaodong
f93c561f5d
doc: update go playground demo
2023-04-27 12:03:15 +08:00
dudaodong
dcdb29334d
doc: update fileutils package document
2023-04-26 10:44:12 +08:00
dudaodong
2f51397d2c
feat: add ReadCsvFile
2023-04-25 11:28:43 +08:00
dudaodong
11217a11c7
feat: add FileSize, MTime, Sha
2023-04-25 11:16:00 +08:00
dudaodong
fa81ee143e
refactor: update param name CopyFile
2023-04-25 10:49:12 +08:00
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
6e7300bbbf
feat: add CurrentPath
2023-04-05 15:55:55 +08:00
dudaodong
3062eb7789
test: add examples for fileutil package
2023-01-03 11:55:23 +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
dudaodong
2c0ab9e922
feat: add CreateDir function in file.go
2022-06-08 14:38: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
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
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
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