John Kerl
e1346691da
Improve error propagation ( #1975 )
2026-02-16 16:48:41 -05:00
John Kerl
5eb40c9e7b
Multiple style updates ( #1974 )
...
* Comment style
* IRecordTransformer -> RecordTransfomer
* make fmt
* else-return style mod
* snake-case -> camel-case
* Remove redundant err = nil and similar zero-value initializations.
* redundant break;
* bugfix
* neaten
* typofix
* simplify/standardize init of zero-length slices
* Standardize fmt.Fprintf w/ errors
* fix double print of "mlr:"
* neatening
* Uniformize error messages
* make docs
* avoid shadowing package names
* shorten some receiver names
2026-02-16 15:49:21 -05:00
John Kerl
19e72f9dac
Preserve file mods on mlr -I ( #1849 )
...
* extract a helper function
* Preserve file mode on mlr -I
2025-08-05 18:11:27 -05:00
John Kerl
d30501a69b
Argument parsing is different in mlr -s scripts ( #1817 )
2025-06-13 13:54:34 -04:00
John Kerl
41649bf4f9
Static-check fixes from @lespea #1657 , batch 7/n ( #1709 )
2024-10-27 12:11:28 -04:00
Adam Lesperance
085e831668
The package version must match the major tag version ( #1654 )
...
* Update package version
* Update makefile targets
* Update readme packages
* Remaining old packages via rg/sd
2024-09-20 12:10:11 -04:00
Eng Zer Jun
f4cf166358
Replace deprecated io/ioutil functions ( #1452 )
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-12-20 09:44:02 -05:00
John Kerl
268a96d002
Export library code in pkg/ ( #1391 )
...
* Export library code in `pkg/`
* new doc page
2023-09-10 17:15:13 -04:00