I have this code:
https://github.com/quatrilio/find-duplicated-files/blob/master/walk.go
It simply read all files from one directory, calculates hash (sha256sum) of
each file, and read properties (date of modification, etc.) and puts in in
JSON output file.
Manually I put ',' after each codification of that information. The problem
is: how to avoid to put the last comma, and then have a JSON valid document.
Yeah, I know, it's not a pretty code, but I'm a newbee, I'm learning...
;-). If someone suggest an equivalent pretty code, it will be welcome...
Thanks in advance,
Xan
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.